aboutsummaryrefslogtreecommitdiff
path: root/community/libgnt
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:26 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:38 +0200
commit5d48f6fc0d51f6795c99bc4ce8d0c9319453123e (patch)
tree7ccaa013f348dc97a6ec1cd8679d21ed0c68ff24 /community/libgnt
parent2d131471b194f4d478c1df227f6405d87b3462cf (diff)
downloadalpine_aports-5d48f6fc0d51f6795c99bc4ce8d0c9319453123e.tar.bz2
alpine_aports-5d48f6fc0d51f6795c99bc4ce8d0c9319453123e.tar.xz
alpine_aports-5d48f6fc0d51f6795c99bc4ce8d0c9319453123e.zip
community/libgnt: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/libgnt')
-rw-r--r--community/libgnt/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/libgnt/APKBUILD b/community/libgnt/APKBUILD
index e9db350d2a..b76fdfad30 100644
--- a/community/libgnt/APKBUILD
+++ b/community/libgnt/APKBUILD
@@ -13,22 +13,16 @@ subpackages="$pkgname-dev $pkgname-doc"
13source="https://downloads.sourceforge.net/project/pidgin/libgnt/$pkgver/libgnt-$pkgver.tar.xz" 13source="https://downloads.sourceforge.net/project/pidgin/libgnt/$pkgver/libgnt-$pkgver.tar.xz"
14 14
15build() { 15build() {
16 meson \ 16 abuild-meson . output
17 --prefix=/usr \ 17 meson compile ${JOBS:+-j ${JOBS}} -C output
18 --sysconfdir=/etc \
19 --mandir=/usr/share/man \
20 --localstatedir=/var \
21 --buildtype=plain \
22 . output
23 ninja -C output
24} 18}
25 19
26check() { 20check() {
27 ninja -C output test 21 meson test --no-rebuild -v -C output
28} 22}
29 23
30package() { 24package() {
31 DESTDIR="$pkgdir" ninja -C output install 25 DESTDIR="$pkgdir" meson install --no-rebuild -C output
32} 26}
33 27
34sha512sums="0d9c5550374696a0e6ede5246cda3c372d7055d21b9ffaf10be88d6a469bdf18c7dd1113ec612acf4889c0e5686ea87bb0e8348ca8985fd5ff8913afc5813b38 libgnt-2.14.0.tar.xz" 28sha512sums="0d9c5550374696a0e6ede5246cda3c372d7055d21b9ffaf10be88d6a469bdf18c7dd1113ec612acf4889c0e5686ea87bb0e8348ca8985fd5ff8913afc5813b38 libgnt-2.14.0.tar.xz"