updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tapioca-glib / PKGBUILD
blobac50b6215bb28ca20db041a204e2c259de72f8e1
1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=tapioca-glib
3 pkgver=0.14.0.1
4 pkgrel=5
5 pkgdesc="Core Tapioca library."
6 arch=('i686' 'x86_64')
7 url="http://tapioca-voip.sourceforge.net/"
8 license=('GPL')
9 depends=('dbus-glib')
10 makedepends=('autoconf' 'automake' 'gcc' 'gtk-doc' 'libtool' 'make' 'patch' 'pkg-config')
11 options=('!libtool')
12 source=(http://downloads.sourceforge.net/tapioca-voip/${pkgname}-${pkgver}.tar.gz \
13         ${pkgname}-tpafix.diff)
14 md5sums=('306d1ae5bb7dc6d701e1a6c4087449a8' '92818e7a8e120d271e90ec194b397edb')
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
19   # apply patch...
20   patch -Np1 -i ${startdir}/${pkgname}-tpafix.diff || return 1
22   # Generating build system
23   ./autogen.sh || return 1
25   ./configure --prefix=/usr \
26               --sysconfdir=/etc \
27               --localstatedir=/var \
28               --disable-static
30   make || return 1
33 package() {
34   cd ${srcdir}/${pkgname}-${pkgver}
36   make DESTDIR=${pkgdir} install || return 1