1 #Maintainer: aksr <aksr at t-com dot me>
3 pkgname=conkeror-decoupling
6 pkgdesc="Conkeror Decoupling is an experimental branch of Conkeror"
8 url="http://retroj.net/conkeror-decoupling"
9 license=('MPL' 'GPL2' '(L)GPLv2')
10 depends=('xulrunner' 'desktop-file-utils')
12 provides=(conkeror-decoupling)
13 source=(conkeror-decoupling.sh)
14 md5sums=('eececdf16275aec2835cd8af8e5aa4d5')
16 _gitroot="http://retroj.net/git/conkeror-decoupling/.git/"
17 _gitname="conkeror-decoupling"
23 if [ -d "$srcdir"/${_gitname} ] ; then
24 msg "Git checkout: Updating existing tree"
25 cd ${_gitname} && git pull origin master
26 msg "Git checkout: Tree has been updated"
28 msg "Git checkout: Retrieving sources"
29 git clone ${_gitroot} && cd ${_gitname}
31 msg "Checkout completed"
35 cd "$srcdir"/${_gitname}
37 install -d "$pkgdir"/usr/share/{conkeror-decoupling,man/man1}
38 cp -a "$srcdir"/${_gitname}/* "$pkgdir"/usr/share/conkeror-decoupling
40 install -Dm644 "$pkgdir"/usr/share/conkeror-decoupling/contrib/man/conkeror.1 \
41 "$pkgdir"/usr/share/man/man1/conkeror-decoupling.1
42 install -Dm644 "$srcdir"/${_gitname}/debian/conkeror.desktop \
43 "$pkgdir"/usr/share/applications/conkeror-decoupling.desktop
44 install -Dm755 "$srcdir"/conkeror-decoupling.sh "$pkgdir"/usr/bin/conkeror-decoupling
46 rm -r "$pkgdir"/usr/share/conkeror-decoupling/contrib/man
47 rm -r "$pkgdir"/usr/share/conkeror-decoupling/debian