[arch-commits] Commit in ypbind-mt/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Sun Sep 11 09:16:27 UTC 2011


    Date: Sunday, September 11, 2011 @ 05:16:26
  Author: bisson
Revision: 137796

cleanup, enable networkmanager support (needs testing)

Modified:
  ypbind-mt/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-11 08:35:21 UTC (rev 137795)
+++ PKGBUILD	2011-09-11 09:16:26 UTC (rev 137796)
@@ -5,15 +5,16 @@
 
 pkgname=ypbind-mt
 pkgver=1.33
-pkgrel=2
+pkgrel=3
 pkgdesc='Linux NIS daemon'
-arch=('i686' 'x86_64')
 url='http://www.linux-nis.org/nis/ypbind-mt/'
 license=('GPL2')
-depends=('rpcbind' 'openslp')
+arch=('i686' 'x86_64')
+makedepends=('networkmanager')
+depends=('rpcbind' 'openslp' 'dbus-glib')
 optdepends=('yp-tools: to set a domain name')
 backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
-source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz"
+source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz"
         'nisdomainname.conf'
         'ypbind.conf'
         'ypbind')
@@ -23,17 +24,23 @@
           '112fc2aedfe3f761325b69647b7938bc1be5bfcd')
 
 build() {
-	cd "$srcdir/$pkgname-$pkgver"
-	./configure --prefix=/usr --disable-dbus-nm
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr \
+		--enable-dbus-nm \
+
 	make
 }
 
 package() {
-	cd "$srcdir/$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
-	install -D -m644 etc/yp.conf "$pkgdir"/etc/yp.conf
-	install -D -m755 ../ypbind "$pkgdir"/etc/rc.d/ypbind
-	install -D -m644 ../ypbind.conf "$pkgdir"/etc/conf.d/ypbind
-	install -D -m644 ../nisdomainname.conf "$pkgdir"/etc/conf.d/nisdomainname
-	install -d -m755 "$pkgdir"/var/yp/binding
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf
+	install -D -m755 ../ypbind "${pkgdir}"/etc/rc.d/ypbind
+	install -D -m644 ../ypbind.conf "${pkgdir}"/etc/conf.d/ypbind
+	install -D -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname
+	install -d -m755 "${pkgdir}"/var/yp/binding
 }




More information about the arch-commits mailing list