diff options
Diffstat (limited to 'community/connman/PKGBUILD')
-rw-r--r-- | community/connman/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD index c825c5ea9..d9d53862d 100644 --- a/community/connman/PKGBUILD +++ b/community/connman/PKGBUILD @@ -1,10 +1,10 @@ -#$Id: PKGBUILD 88577 2013-04-20 14:52:33Z dwallace $ +#$Id: PKGBUILD 90387 2013-05-12 06:30:53Z dwallace $ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com> pkgname=connman -pkgver=1.13 -pkgrel=1 +pkgver=1.14 +pkgrel=2 pkgdesc="Wireless LAN network manager" url="http://connman.net/" arch=('i686' 'x86_64' 'mips64el') @@ -17,15 +17,20 @@ makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn') options=('!libtool') source=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'allow_group_network.diff') -md5sums=('12c0d5a52ad3749afac260ebc7151d16' +md5sums=('d8c98071ca244d2e66ae49becfcd0634' 'a8d22ee089fb0ed725130d16ad393047') -build() { +prepare(){ cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/allow_group_network.diff" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ --with-systemdunitdir=/usr/lib/systemd/system \ --enable-threads \ --enable-openconnect \ @@ -39,5 +44,6 @@ build() { package(){ make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install - install -Dm755 "$srcdir/$pkgname-$pkgver/client/${pkgname}ctl" "$pkgdir/usr/sbin/${pkgname}ctl" + install -Dm755 "$srcdir/$pkgname-$pkgver/client/${pkgname}ctl" "$pkgdir/usr/bin/${pkgname}ctl" + find "$pkgdir/usr" -name \*.service -exec sed -i 's/s\(bin\)/\1/' {} + } |