blob: 45ef181ca7326c35d965f55c9e325f1f37781a89 (
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
|
# Maintainer: a821
# Contributor: Moritz Lipp <mlq@pwmt.org>
pkgname=zathura-ps-git
pkgrel=1
pkgver=0.2.8.r1.g69f23a9
pkgdesc="PostScript support for zathura"
arch=('x86_64')
url="https://pwmt.org/projects/zathura-ps"
license=('Zlib')
depends=('zathura-git' 'libspectre' 'desktop-file-utils')
makedepends=('git' 'meson' 'ninja' 'appstream-glib')
conflicts=('zathura-ps')
provides=('zathura-ps')
source=("$pkgname::git+https://github.com/pwmt/zathura-ps.git#branch=develop")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/-/.r/;s/-/./g'
}
build() {
cd "$pkgname"
arch-meson build
ninja -C build
}
package() {
cd "$pkgname"
DESTDIR="$pkgdir/" ninja -C build install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:set ts=2 sw=2 et:
|