diff options
Diffstat (limited to 'community/gnome-font-viewer/APKBUILD')
-rw-r--r-- | community/gnome-font-viewer/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gnome-font-viewer/APKBUILD b/community/gnome-font-viewer/APKBUILD new file mode 100644 index 0000000000..9f5215a69f --- /dev/null +++ b/community/gnome-font-viewer/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-font-viewer +pkgver=3.34.0 +pkgrel=0 +pkgdesc="View fonts on your system" +url="https://gitlab.gnome.org/GNOME/gnome-font-viewer" +arch="all" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" +makedepends="glib-dev gtk+3.0-dev harfbuzz-dev fontconfig-dev freetype-dev + gnome-desktop-dev meson" +options="!check" # no tests +subpackages="$pkgname-lang" +source="https://download.gnome.org/sources/gnome-font-viewer/${pkgver%.*}/gnome-font-viewer-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="1be6230da5ff47a129db43b5f5467d3fed8925fad7a6637f24d72c8c99c80d8dd1635eaef1b7c7f650a86132a54cde8326d3418075f5818d0154dc8d503927c7 gnome-font-viewer-3.34.0.tar.xz" |