spacepaste

  1.  
  2. # Contributor: Ivy Foster <joyfulgirl@archlinux.us>
  3. # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
  4. # Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.com>
  5. pkgname=conkeror-git
  6. pkgver=debian.1.0..pre+git120527.1.84.g0341e79
  7. pkgrel=1
  8. pkgdesc="A highly programmable web browser. Branch 'refactor-completers'."
  9. arch=('i686' 'x86_64')
  10. url="http://conkeror.mozdev.org/"
  11. license=('MPL' 'GPL' 'LGPL')
  12. depends=('xulrunner' 'desktop-file-utils')
  13. makedepends=('git' 'imagemagick')
  14. provides=('conkeror-git')
  15. conflicts=('conkeror-git')
  16. source=(conkeror.sh)
  17. md5sums=('SKIP')
  18. install=conkeror-git.install
  19. source=(git://repo.or.cz/conkeror.git)
  20. _gitname="conkeror"
  21. pkgver() {
  22. cd $_gitname
  23. # Git tag
  24. echo $(git describe --always|sed 's/-/./g')
  25. }
  26. build() {
  27. cd "$srcdir"/${_gitname}
  28. make
  29. }
  30. package() {
  31. cd "$srcdir"/${_gitname}
  32. install -d "$pkgdir"/usr/share/{conkeror,man/man1,pixmaps}
  33. cp -a "$srcdir"/${_gitname}-build/* "$pkgdir"/usr/share/conkeror
  34. install -Dm644 "$pkgdir"/usr/share/conkeror/contrib/man/conkeror.1 \
  35. "$pkgdir"/usr/share/man/man1/conkeror.1
  36. install -Dm644 "$srcdir"/${_gitname}-build/debian/conkeror.desktop \
  37. "$pkgdir"/usr/share/applications/conkeror.desktop
  38. install -Dm755 "$srcdir"/conkeror.sh "$pkgdir"/usr/bin/conkeror
  39. mv "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper "$pkgdir"/usr/bin
  40. rm "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper.c
  41. rm -r "$pkgdir"/usr/share/conkeror/contrib/man
  42. rm -r "$pkgdir"/usr/share/conkeror/debian
  43. }
  44.