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

Tobias Powalowski tpowa at archlinux.org
Wed Jan 26 07:57:50 EST 2011


    Date: Wednesday, January 26, 2011 @ 07:57:49
  Author: tpowa
Revision: 107514

upgpkg: progsreiserfs 0.3.0.5-6
remove binaries and only provide the lib

Modified:
  progsreiserfs/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-26 12:31:34 UTC (rev 107513)
+++ PKGBUILD	2011-01-26 12:57:49 UTC (rev 107514)
@@ -3,7 +3,7 @@
 
 pkgname=progsreiserfs
 pkgver=0.3.0.5
-pkgrel=5
+pkgrel=6
 pkgdesc="library for accessing and manipulating reiserfs partitions"
 arch=(i686 x86_64)
 url="http://www.namesys.com"
@@ -17,10 +17,14 @@
 
 build()        {
         cd ${srcdir}/${pkgname}-${pkgver}
-        ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-        make || return 1
-        make DESTDIR=${pkgdir} install || return 1
-	rm ${pkgdir}/usr/share/man/man8/mkfs.reiserfs.8
-        rm ${pkgdir}/usr/share/man/man8/resizefs.reiserfs.8
-        rm ${pkgdir}/usr/share/man/man8/tunefs.reiserfs.8
+        ./configure --prefix=/usr --mandir=/usr/share/man 
+        make
 }
+package() {
+        cd ${srcdir}/${pkgname}-${pkgver} 
+        make DESTDIR=${pkgdir} install
+        # only provide lib and includes files
+        # https://bugs.archlinux.org/task/22255
+        rm -r ${pkgdir}/usr/sbin
+	rm -r ${pkgdir}/usr/share/man/
+}



More information about the arch-commits mailing list