Skip to content
Snippets Groups Projects
Verified Commit f2fb6624 authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

community/gnome-font-viewer: use abuild-meson & meson compile/test/install

parent 76df3ab8
No related branches found
No related tags found
1 merge request!12040Port all meson APKBUILDs to abuild-meson
...@@ -14,18 +14,12 @@ subpackages="$pkgname-lang" ...@@ -14,18 +14,12 @@ subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-font-viewer/${pkgver%.*}/gnome-font-viewer-$pkgver.tar.xz" source="https://download.gnome.org/sources/gnome-font-viewer/${pkgver%.*}/gnome-font-viewer-$pkgver.tar.xz"
build() { build() {
meson \ abuild-meson . output
--prefix=/usr \ meson compile ${JOBS:+-j ${JOBS}} -C output
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
ninja -C output
} }
package() { package() {
DESTDIR="$pkgdir" ninja -C output install DESTDIR="$pkgdir" meson install --no-rebuild -C output
} }
sha512sums="1be6230da5ff47a129db43b5f5467d3fed8925fad7a6637f24d72c8c99c80d8dd1635eaef1b7c7f650a86132a54cde8326d3418075f5818d0154dc8d503927c7 gnome-font-viewer-3.34.0.tar.xz" sha512sums="1be6230da5ff47a129db43b5f5467d3fed8925fad7a6637f24d72c8c99c80d8dd1635eaef1b7c7f650a86132a54cde8326d3418075f5818d0154dc8d503927c7 gnome-font-viewer-3.34.0.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment