blob: 7c94511acca6b99538ec05b91e025a0a4246dc7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Michal Kowalski <kowalski TOD michal TA gmail TOD com>
pkgname=zathura-ypb
pkgver=0.0.8.2.r30.gbef9bc4
pkgrel=3
pkgdesc="A lightweight GTK2 PDF viewer"
arch=('i686' 'x86_64')
url="https://github.com/ypb/zat"
license=('custom')
depends=('poppler-glib>=0.12.3' 'gtk2>=2.18.6' 'desktop-file-utils')
makedepends=('git')
source=("$pkgname::git+https://github.com/ypb/zat.git"
"zat.desktop" "zat.png")
md5sums=('SKIP'
'0044e854dc35d4b4e3ef712b455d2f79'
'c98563fce7efa3d6ea4ffa9952cf17b8')
pkgver() {
cd $pkgname
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd $pkgname
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -Dm664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "$srcdir/zat.desktop" "$pkgdir/usr/share/applications/zat.desktop"
install -Dm644 "$srcdir/zat.png" "$pkgdir/usr/share/pixmaps/zat.png"
}
# vim: set sw=2 et:
|