diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-09-01 11:34:52 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-09-07 11:38:18 +0200 |
commit | 1b5f58ed1d69bf2aa6103c6b209796a7972595f0 (patch) | |
tree | ca137feda36ca2d73814d782a9eb47f4b3aa18ec | |
parent | 30f6698f4c1a3825abbe33dde254e5d301aca0ea (diff) |
community/mpc: use abuild-meson & meson compile/test/install
-rw-r--r-- | community/mpc/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/community/mpc/APKBUILD b/community/mpc/APKBUILD index 14fc80f6149..9461bf7dff3 100644 --- a/community/mpc/APKBUILD +++ b/community/mpc/APKBUILD @@ -12,23 +12,18 @@ subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc" source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build() { - meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=plain \ + abuild-meson \ -Dtest=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 } bashcomp() { |