aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-obfuscate/APKBUILD
blob: ca9af7f9a59ac148cf58dd9f342bc459edcfbb23 (plain) (blame)
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
32
33
34
35
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname="gnome-obfuscate"
pkgver="0.0.2"
pkgrel=0
pkgdesc="Censor private information"
url="https://gitlab.gnome.org/World/obfuscate"
arch="all !s390x" # rust
license="MIT"
makedepends="meson cargo gtk+3.0-dev"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/obfuscate/uploads/c0195c28c183eacb449702c140ddbc13/obfuscate-$pkgver.tar.xz"
builddir="$srcdir/obfuscate-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c084d00de60d88bd7b57319c9944fe4730060aaf9cb1978483e84c1e2f5d9d63476a9b0f959321756c2ea2aa165f8cc1241541f4348e0646120dbd4c6b2b6d78  obfuscate-0.0.2.tar.xz"