aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-font-viewer/APKBUILD
blob: 9f5215a69f6b9c01582c23adf5ed87b873ab312c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"