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

Eric Bélanger eric at nymeria.archlinux.org
Sun May 12 03:52:16 EDT 2013


    Date: Sunday, May 12, 2013 @ 09:52:15
  Author: eric
Revision: 185212

upgpkg: quota-tools 1:4.01-2

Move binaries in /usr/sbin to /usr/bin

Modified:
  quota-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 07:33:11 UTC (rev 185211)
+++ PKGBUILD	2013-05-12 07:52:15 UTC (rev 185212)
@@ -3,7 +3,7 @@
 
 pkgname=quota-tools
 pkgver=4.01
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Tools to manage kernel-level quotas in Linux"
 arch=('i686' 'x86_64')
@@ -16,14 +16,14 @@
 sha1sums=('64d2ab8b039cfea1aa4bd9e77e8c373488a7f0bf')
 
 build() {
-  cd "${srcdir}/${pkgname}"
+  cd ${pkgname}
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}"
-  make ROOTDIR="${pkgdir}" install
+  cd ${pkgname}
+  make ROOTDIR="${pkgdir}" sbindir=/usr/bin root_sbindir=/usr/bin STRIP="" install
   install -d "${pkgdir}/usr/share/licenses/${pkgname}"
   head -33 quota.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 



More information about the arch-commits mailing list