1 #Contributor: karnath <karnathtorjian@gmail.com>
5 pkgdesc="Ads PostScript support to zathura by using the libspectre library"
7 url="https://pwmt.org/"
9 #temporaly developer depends
10 depends=('libspectre' 'zathura-girara-git')
13 conflicts=('zathura-ps')
14 provides=('zathura-ps-git' 'zathura-ps')
16 _gitroot="git://pwmt.org/zathura-ps.git"
21 msg "Connecting to GIT server..."
23 if [ -d ${srcdir}/$_gitname ]; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 if [ -d ${srcdir}/$_gitname-build ]; then
34 rm -rf ${srcdir}/$_gitname-build
37 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build || return 1
38 cd ${srcdir}/$_gitname-build/ || return 1
40 make DESTDIR="$pkgdir" install || return 1
41 # No license included for now
42 # install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"