[arch-commits] Commit in gift-gnutella/trunk (PKGBUILD)

Daniel Griffiths dgriffiths at archlinux.org
Tue Apr 20 01:08:19 UTC 2010


    Date: Monday, April 19, 2010 @ 21:08:19
  Author: dgriffiths
Revision: 78182

upgpkg: gift-gnutella 0.0.11-3 Package more than a year old

Modified:
  gift-gnutella/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-20 00:54:50 UTC (rev 78181)
+++ PKGBUILD	2010-04-20 01:08:19 UTC (rev 78182)
@@ -4,21 +4,22 @@
 
 pkgname=gift-gnutella
 pkgver=0.0.11
-pkgrel=2
+pkgrel=3
 pkgdesc="GiFT's Gnutella plugin."
 arch=(i686 x86_64)
 url="http://gift.sourceforge.net"
 license=('GPL')
 depends=('gift' 'zlib')
-source=(http://downloads.sourceforge.net/sourceforge/gift/$pkgname-$pkgver.tar.bz2)
+options=(!libtool)
+source=(http://downloads.sourceforge.net/sourceforge/gift/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('279c7dc0121b3b7e209b09c98d10f17f')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   touch NEWS AUTHORS
   ./configure --prefix=/usr|| return 1
   make || return 1
-  make DESTDIR=$pkgdir install || return 1
-  install -D -m644 data/Gnutella.conf $pkgdir/usr/share/giFT/Gnutella/Gnutella.conf
-  install -D -m644 data/hostiles.txt $pkgdir/usr/share/giFT/Gnutella/hostiles.txt
+  make DESTDIR=${pkgdir} install || return 1
+  install -D -m644 data/Gnutella.conf ${pkgdir}/usr/share/giFT/Gnutella/Gnutella.conf
+  install -D -m644 data/hostiles.txt ${pkgdir}/usr/share/giFT/Gnutella/hostiles.txt
 }




More information about the arch-commits mailing list