aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:25 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:37 +0200
commite272a99ae0f9d9c8a7d707a08d99410620d58304 (patch)
tree33cf1d1637fbac02db18c974be9550676f36e197
parenta117604cff77739a871f77f1c615097f9c9c3449 (diff)
downloadaports-e272a99ae0f9d9c8a7d707a08d99410620d58304.tar.gz
aports-e272a99ae0f9d9c8a7d707a08d99410620d58304.tar.bz2
aports-e272a99ae0f9d9c8a7d707a08d99410620d58304.tar.xz
community/libgepub: use abuild-meson & meson compile/test/install
-rw-r--r--community/libgepub/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/libgepub/APKBUILD b/community/libgepub/APKBUILD
index dc18c9fc02..3f8aa1cfc3 100644
--- a/community/libgepub/APKBUILD
+++ b/community/libgepub/APKBUILD
@@ -15,18 +15,12 @@ subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libgepub/${pkgver%.*}/libgepub-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
- . output
- ninja -C output
+ abuild-meson . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="90c8df55c2465ab3c44092a772d568b412cea60f20d0f32d33b124d70ece1655dcf53d87c5effa2c494bf103c2e51d31192edf0ad71b46fa61471f94b5768c99 libgepub-0.6.0.tar.xz"