# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=gwenhywfar pkgver=4.20.0 _pkgrel=208 pkgrel=0 pkgdesc="Multi-platform helper library" url="https://www.aquamaniac.de/" arch="all" license="LGPL" makedepends="libgcrypt-dev gnutls-dev gettext-dev automake autoconf libtool bash" options="net" # tests send HTTP requests to remote hosts 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=02&dummy=$pkgname-$pkgver.tar.gz libintl.patch fix-tests.patch" prepare() { default_prepare cd "$builddir" autoreconf -vfi } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-guis= \ --enable-ssl \ --enable-visibility make } check() { make -C "$builddir" check } package() { cd "$builddir" make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname install -m644 AUTHORS ChangeLog README TODO \ "$pkgdir"/usr/share/doc/$pkgname } sha512sums="bc1d47c39654940198396f1bdb9f4a87ff4e0e6b07cb4525c10f7f8e6ce93445d5b9d85586a47c93c558e86eb826f7006eca29b93fad6371dfe72830bf9b88e1 gwenhywfar-4.20.0.tar.gz fcccf5aa3872f4327205c3c77c5e1b88fbce89d6fe45330f72a38c207b7f6166ca486e70636119a9c16447a3c09e3bad97ed7a1cc5f06db53939f510e2c19cca libintl.patch c877b91cd7e680f27b416563df67bf4834064672a021031d31bb597214b362068610de89d05ec2dc44336f02090546b9e6b80ea3758c8bf3974e8be7d5b4971d fix-tests.patch"