-
- # Contributor: Ivy Foster <joyfulgirl@archlinux.us>
- # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
- # Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.com>
-
- pkgname=conkeror-git
- pkgver=debian.1.0..pre+git120527.1.84.g0341e79
- pkgrel=1
- pkgdesc="A highly programmable web browser. Branch 'refactor-completers'."
- arch=('i686' 'x86_64')
- url="http://conkeror.mozdev.org/"
- license=('MPL' 'GPL' 'LGPL')
- depends=('xulrunner' 'desktop-file-utils')
- makedepends=('git' 'imagemagick')
- provides=('conkeror-git')
- conflicts=('conkeror-git')
- source=(conkeror.sh)
- md5sums=('SKIP')
- install=conkeror-git.install
- source=(git://repo.or.cz/conkeror.git)
- _gitname="conkeror"
-
- pkgver() {
- cd $_gitname
- # Git tag
- echo $(git describe --always|sed 's/-/./g')
- }
-
- build() {
- cd "$srcdir"/${_gitname}
- make
- }
-
- package() {
- cd "$srcdir"/${_gitname}
-
- install -d "$pkgdir"/usr/share/{conkeror,man/man1,pixmaps}
- cp -a "$srcdir"/${_gitname}-build/* "$pkgdir"/usr/share/conkeror
-
- install -Dm644 "$pkgdir"/usr/share/conkeror/contrib/man/conkeror.1 \
- "$pkgdir"/usr/share/man/man1/conkeror.1
- install -Dm644 "$srcdir"/${_gitname}-build/debian/conkeror.desktop \
- "$pkgdir"/usr/share/applications/conkeror.desktop
- install -Dm755 "$srcdir"/conkeror.sh "$pkgdir"/usr/bin/conkeror
-
- mv "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper "$pkgdir"/usr/bin
- rm "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper.c
- rm -r "$pkgdir"/usr/share/conkeror/contrib/man
- rm -r "$pkgdir"/usr/share/conkeror/debian
- }
-