summaryrefslogtreecommitdiff
path: root/contrib/packages/alpine/gnunet-gtk/APKBUILD
blob: 8c72bdb6c50ba22b3d1225009a5bcaedd3be747d (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
32
33
34
35
36
# Contributor: xrs <xrs@mail36.net>
# Maintainer: xrs <xrs@mail36.net>
pkgname=gnunet-gtk
pkgver=0.11.5
pkgrel=0
pkgdesc="Graphical user interface for GNUnet"
url="https://gnunet.org"
arch="all"
license="GPL-3.0-only"
makedepends="gnunet-dev gtk+3.0-dev glade-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://mirrors.ocf.berkeley.edu/gnu/gnunet/gnunet-gtk-$pkgver.tar.gz"
options="!check" # The GNUnet project lacks a good CI at the moment.

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-fs-app \
		--disable-conversation-app
	make
}

check() {
	make DESTDIR="$pkgdir" check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8cd5bcadba070396b9b9b4849678bda362ba274f7d8e0c4dfc0bd793ac103a8a94949a472d992c90f21ddb7db16b14ea23a199acd4cf2e52f985e15205d2f5a9  gnunet-gtk-0.11.5.tar.gz"