aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gwenhywfar/APKBUILD
blob: c746ee3d00662406970410aefd7e953c1f7be718 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=gwenhywfar
pkgver=4.15.3
_pkgrel=201
pkgrel=1
pkgdesc="Multi-platform helper library"
url="http://www.aquamaniac.de/"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends="libgcrypt-dev gnutls-dev gettext-dev
	automake autoconf libtool bash"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://www.aquamaniac.de/sites/download/download.php?package=01&release=${_pkgrel}&file=01&dummy=$pkgname-$pkgver.tar.gz
	libintl.patch"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1

	cd "$builddir"
	autoreconf -vfi || return 1
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-guis= \
		--enable-ssl \
		--enable-visibility \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	install -m644 AUTHORS ChangeLog README TODO \
		"$pkgdir"/usr/share/doc/$pkgname \
		|| return 1
}

sha512sums="a14d625518d94c94491df149f9e746ed8d769f4e43b6df24f51f4269f29005f7431e33e85de0bde0a81a2e876fea8ddad5ed4191114295d6c9ea2e94aba08799  gwenhywfar-4.15.3.tar.gz
fcccf5aa3872f4327205c3c77c5e1b88fbce89d6fe45330f72a38c207b7f6166ca486e70636119a9c16447a3c09e3bad97ed7a1cc5f06db53939f510e2c19cca  libintl.patch"