desktop/gwenhywfar/PKGBUILD
2017-01-15 23:12:54 +00:00

33 lines
1.0 KiB
Bash

# Arch contribution https://www.archlinux.org/packages/community/x86_64/gwenhywfar/
pkgname=gwenhywfar
pkgver=4.15.3
_releasenumber=201
pkgrel=2
pkgdesc="OS abstraction functions for various projects"
arch=('x86_64')
url="http://www.aquamaniac.de"
license=("LGPL")
depends=('openssl' 'qt' 'qt5-base' 'gnutls' 'libgcrypt' 'libgpg-error')
source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_releasenumber}&file=01&dummy=${pkgname}-${pkgver}.tar.gz")
sha256sums=('6a0e8787c99620414da6140e567c616b55856c5edf8825a9ebc67431923ee63a')
build() {
cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-ssl \
--with-guis="qt4 qt5" \
--with-qt5-qmake=/usr/lib/qt5/bin/qmake \
--with-qt5-moc=/usr/lib/qt5/bin/moc \
--with-qt5-uic=/usr/lib/qt5/bin/uic
sed -i 's|gnutls_transport_set_lowat||g' src/sio/syncio_tls.c
make
}
package() {
cd $srcdir/${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}