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

Tobias Powalowski tpowa at archlinux.org
Mon May 11 02:21:38 EDT 2009


    Date: Monday, May 11, 2009 @ 02:21:37
  Author: tpowa
Revision: 38987

upgpkg: sysfsutils 2.1.0-5

Modified:
  sysfsutils/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-11 06:17:40 UTC (rev 38986)
+++ PKGBUILD	2009-05-11 06:21:37 UTC (rev 38987)
@@ -3,7 +3,7 @@
 
 pkgname=sysfsutils
 pkgver=2.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc="System Utilities Based on Sysfs"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL')
@@ -12,20 +12,17 @@
 depends=('glibc')
 source=(http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz)
 md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
+options=(!libtool)
 
-
 build() {
-  cd $startdir/src/$pkgname-$pkgver 
-  ./configure --prefix=/usr 
+  cd $srcdir/$pkgname-$pkgver 
+  ./configure --prefix=/usr --mandir=/usr/share/man
   make || return 1 
-  make DESTDIR=$startdir/pkg/ install
+  make DESTDIR=$pkgdir install
 
-  cd "$startdir"/pkg
+  cd $pkgdir
   mkdir -v lib
   mv -v usr/lib/libsysfs.so.2* lib/
   ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
- 
-  #libtoolslay
-  find $startdir/pkg -name '*.la' -exec rm {} \;
 }
 



More information about the arch-commits mailing list