summaryrefslogtreecommitdiff
path: root/community/gwenhywfar/PKGBUILD
blob: 9024558715bcf1e82df281352ed2d14edc8ee076 (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
# $Id: PKGBUILD 85356 2013-03-01 10:32:40Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>

pkgname=gwenhywfar
pkgver=4.3.3
_dnrel=67
pkgrel=2
pkgdesc="OS abstraction functions for various projects"
arch=(i686 x86_64 'mips64el')
url="http://www.aquamaniac.de"
options=('!libtool')
license=("LGPL")
depends=('openssl' 'gnutls' 'libgcrypt')
makedepends=('gtk2' 'qt4')
optdepends=('gtk2' 'qt4')
source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$pkgver.tar.gz")
md5sums=('c5b9d52a25960f84f9264a5a5dd484d1')

build() {
  pacman -Q gwenhywfar && return 1
  cd $srcdir/gwenhywfar-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --enable-ssl
  sed -i 's|gnutls_transport_set_lowat||g' src/sio/syncio_tls.c
  make
}

package() {
  cd $srcdir/gwenhywfar-$pkgver
  make DESTDIR=$pkgdir install
}