blob: 47735fb266d6e15ec80bfd0519c3676235589c20 (
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
|
pkgname=pdftag
pkgver=1.0.5+4+g3c1d224
pkgrel=1
pkgdesc="A simple metadata editor for PDFs"
arch=(i686 x86_64)
url="https://github.com/arrufat/pdftag"
license=(GPL3)
depends=(poppler-glib gtk3)
makedepends=(git vala meson)
_commit=3c1d224634e87ded61d70e11fdb4c567f4ca6acb
source=("git+https://github.com/arrufat/pdftag.git#commit=$_commit")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed -e 's/-/+/g;s/v//'
}
build() {
cd ${pkgname}
[ -d build ] && rm -rf build
mkdir build
meson --prefix=/usr build
ninja -C build
}
package() {
cd ${pkgname}/build
DESTDIR=${pkgdir} ninja install
}
|