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

Dave Reisner dreisner at archlinux.org
Sun Apr 29 01:13:28 EDT 2012


    Date: Sunday, April 29, 2012 @ 01:13:28
  Author: dreisner
Revision: 157735

upgpkg: sysfsutils 2.1.0-8

- rebuild for /lib -> /usr/lib move
- ditch static lib

Modified:
  sysfsutils/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 05:10:29 UTC (rev 157734)
+++ PKGBUILD	2012-04-29 05:13:28 UTC (rev 157735)
@@ -3,7 +3,7 @@
 
 pkgname=sysfsutils
 pkgver=2.1.0
-pkgrel=7
+pkgrel=8
 pkgdesc="System Utilities Based on Sysfs"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL')
@@ -15,22 +15,18 @@
 options=(!libtool)
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}" 
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --mandir=/usr/share/man
   make
 }
 
 check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
   make check
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}" 
-  make DESTDIR="${pkgdir}" install
-
-  cd "${pkgdir}"
-  mkdir -v lib
-  mv -v usr/lib/libsysfs.so.2* lib/
-  ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  rm "$pkgdir/usr/lib/libsysfs.a"
 }



More information about the arch-commits mailing list