blob: fc3a3cbf009bb41a6199a41a761ca573896f3e38 (
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
|
# Maintainer: Bart Libert <aur@bart.libert.email>
_pkgname=gtk-print
pkgname=$_pkgname-git
pkgver=r23.97163dd
pkgrel=1
pkgdesc=' A CLI utility to conjure up gtk-based print dialogs '
arch=(x86_64)
url='https://github.com/nbfalcon/gtk-print'
license=(MIT)
provides=(gtk-print)
depends=(glibc poppler-glib glib2 gtk3)
makedepends=(git meson)
source=(git+$url)
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson $_pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 $_pkgname/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|