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

Giovanni Scafora giovanni at archlinux.org
Wed Nov 30 18:13:02 EST 2011


    Date: Wednesday, November 30, 2011 @ 18:13:01
  Author: giovanni
Revision: 143968

upgpkg: speedtouch 1.3.1-4

rebuild

Modified:
  speedtouch/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-30 23:07:49 UTC (rev 143967)
+++ PKGBUILD	2011-11-30 23:13:01 UTC (rev 143968)
@@ -4,21 +4,29 @@
 
 pkgname=speedtouch
 pkgver=1.3.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Driver for the ADSL Speed Touch USB modem"
 arch=('i686' 'x86_64')
 url="http://speedtouch.sourceforge.net/"
 license=('GPL')
 depends=('bash')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 
-	speedtouch-1.3.1-gcc4.patch)
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 
+	'speedtouch-1.3.1-gcc4.patch')
 md5sums=('0848a120ae0eeab6c8ab378e11dc4fa2' 
 	 '4191035925db745944c75e26937c42a3')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../speedtouch-1.3.1-gcc4.patch || return 1
-  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1
-  make || return 1
-  make prefix=${pkgdir}/usr sysconfdir=${pkgdir}/etc mandir=${pkgdir}/usr/share/man install || return 1
+
+  patch -Np1 -i ${srcdir}/speedtouch-1.3.1-gcc4.patch
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --mandir=/usr/share/man
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  make prefix=${pkgdir}/usr sysconfdir=${pkgdir}/etc mandir=${pkgdir}/usr/share/man install
+}



More information about the arch-commits mailing list