1 # Maintainer: Ivy Foster <joyfulgirl@archlinux.us>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.com>
8 pkgdesc="A highly programmable web browser based on Mozilla XULRunner."
10 url="http://conkeror.mozdev.org/"
11 license=('MPL' 'GPL' 'LGPL')
12 depends=('xulrunner' 'desktop-file-utils')
13 makedepends=('git' 'imagemagick')
15 source=(conkeror_gimpfile.xpm conkeror.sh)
16 md5sums=('b592582a5b923db1707615564a95737f'
17 '11c6c76a2639254754b34a542f1965a1')
19 install=conkeror-git.install
21 _gitroot="git://repo.or.cz/conkeror.git"
28 if [ -d "$srcdir"/${_gitname} ] ; then
29 msg "Git checkout: Updating existing tree"
30 cd ${_gitname} && git pull origin master
31 msg "Git checkout: Tree has been updated"
33 msg "Git checkout: Retrieving sources"
34 git clone ${_gitroot} && cd ${_gitname}
36 msg "Checkout completed"
39 [ -d "$srcdir"/${_gitname}-build ] && rm -rf "$srcdir"/${_gitname}-build
40 git clone "$srcdir"/${_gitname} "$srcdir"/${_gitname}-build
41 cd "$srcdir"/${_gitname}-build
45 cd "$srcdir"/${_gitname}-build
47 install -d "$pkgdir"/usr/share/{conkeror,man/man1,pixmaps}
48 cp -a "$srcdir"/${_gitname}-build/* "$pkgdir"/usr/share/conkeror
50 install -Dm644 "$pkgdir"/usr/share/conkeror/contrib/man/conkeror.1 \
51 "$pkgdir"/usr/share/man/man1/conkeror.1
52 install -Dm644 "$srcdir"/${_gitname}-build/debian/conkeror.desktop \
53 "$pkgdir"/usr/share/applications/conkeror.desktop
54 install -Dm644 "$srcdir"/conkeror_gimpfile.xpm "$pkgdir"/usr/share/pixmaps
55 install -Dm755 "$srcdir"/conkeror.sh "$pkgdir"/usr/bin/conkeror
57 rm -r "$pkgdir"/usr/share/conkeror/contrib/man
58 rm -r "$pkgdir"/usr/share/conkeror/debian