aboutsummaryrefslogtreecommitdiffstats
path: root/community/gedit/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:01 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:11 +0200
commit5e50ecceb6d280f4a04b8a4062ba0644cb97b520 (patch)
tree47d2709b41c723dbef637a1521c7a463df75f63d /community/gedit/APKBUILD
parent22a3d3906d48dc8d3e487f67f8bf7f4f4697d26c (diff)
downloadaports-5e50ecceb6d280f4a04b8a4062ba0644cb97b520.tar.gz
aports-5e50ecceb6d280f4a04b8a4062ba0644cb97b520.tar.bz2
aports-5e50ecceb6d280f4a04b8a4062ba0644cb97b520.tar.xz
community/gedit: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/gedit/APKBUILD')
-rw-r--r--community/gedit/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/gedit/APKBUILD b/community/gedit/APKBUILD
index fb4b95f190..8146528bf6 100644
--- a/community/gedit/APKBUILD
+++ b/community/gedit/APKBUILD
@@ -16,23 +16,18 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gedit/${pkgver%.*}/gedit-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Ddocumentation=true \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- ninja -C output test
+ meson test --no-rebuild -v -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="0a3c43a372c329405ad776a858369dce681881b4240262a7b13b296916a5593eb9c4516c6d10d3dc95ee502521d2635de7af7361bcf458448188f0c8ea310096 gedit-3.37.92.tar.xz"