From 66cb4a487ad73063c6b000279a5d5558fb7603f5 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 May 2013 01:16:28 -0700 Subject: Mon May 13 01:16:27 PDT 2013 --- community/connman/PKGBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'community/connman') diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD index d545e739c..a35e27aee 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 # Contributor: Lucas De Marchi 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') @@ -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/' {} + } -- cgit v1.2.3-54-g00ecf