updated on Wed Jan 25 12:16:47 UTC 2012
[aur-mirror.git] / libmbca / PKGBUILD
blob6c7c9ad57d79ecb67565c6d4615daed8e7bcb137
1 # Contributor: Valmantas PalikÅ¡a <walmis@balticum-tv.lt>
3 pkgname=libmbca
4 pkgver=0.04
5 pkgrel=1
6 pkgdesc="Mobile broadband configuration assistant library"
7 arch=('i686' 'x86_64')
8 url="http://live.gnome.org/NetworkManager/MobileBroadband"
9 license="GPL"
10 depends=('glib2>=2.16' 'libxml2' 'libgweather' 'hal' 'dbus-glib' 'mobile-broadband-provider-info')
11 makedepends=('subversion' 'pkgconfig' 'cvs')
12 source=()
13 md5sums=()
14 options=("!libtool")
16 __svnmod="libmbca"
17 __svntrunk="http://svn.gnome.org/svn/libmbca/tags/LIBMBCA_0_0_4/"
19 build() {
20         cd "$srcdir"
21         if [ -d $__svnmod/.svn ]; then
22         (cd $__svnmod && svn up)
23         else
24         svn co $__svntrunk --config-dir ./ $__svnmod
25         fi
26         msg  "SVN checkout done or server timeout"
27         msg "Starting make..."
28         cd $__svnmod
29         
30         autoreconf -i
31         ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname --localstatedir=/var --disable-static
32         make || return 1
33         make DESTDIR="${pkgdir}" install || return 1