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

Allan McRae allan at nymeria.archlinux.org
Mon May 13 23:46:45 EDT 2013


    Date: Tuesday, May 14, 2013 @ 05:46:45
  Author: allan
Revision: 185418

upgpkg: libcap 2.22-5

moving files to /usr/bin, should be ok...

Modified:
  libcap/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-14 01:49:19 UTC (rev 185417)
+++ PKGBUILD	2013-05-14 03:46:45 UTC (rev 185418)
@@ -4,7 +4,7 @@
 
 pkgname=libcap
 pkgver=2.22
-pkgrel=4
+pkgrel=5
 pkgdesc="POSIX 1003.1e capabilities"
 arch=('i686' 'x86_64')
 url="http://sites.google.com/site/fullycapable/"
@@ -15,6 +15,13 @@
 md5sums=('b4896816b626bea445f0b3849bdd4077'
          '9d0983e25e5a251d098507f9561d2b27')
 
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # install into /usr/bin
+  sed -i "/SBINDIR/s#sbin#bin#" Make.Rules
+}
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   make



More information about the arch-commits mailing list