APKBUILD 966 Bytes
Newer Older
1
2
3
4
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname="gnome-obfuscate"
pkgver="0.0.2"
5
pkgrel=1
6
7
pkgdesc="Censor private information"
url="https://gitlab.gnome.org/World/obfuscate"
8
9
# s390x, mips64 and riscv64 blocked by cargo/rust
arch="all !s390x !mips64 !riscv64"
10
11
12
13
14
15
16
17
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() {
18
19
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
20
21
22
}

check() {
23
	meson test --no-rebuild -v -C output
24
25
26
}

package() {
27
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
28
29
30
}

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