summaryrefslogtreecommitdiff
path: root/extra/quota-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/quota-tools/PKGBUILD')
-rw-r--r--extra/quota-tools/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/quota-tools/PKGBUILD b/extra/quota-tools/PKGBUILD
index 530a9925c..5305f02fe 100644
--- a/extra/quota-tools/PKGBUILD
+++ b/extra/quota-tools/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 167201 2012-09-27 19:22:41Z eric $
+# $Id: PKGBUILD 185213 2013-05-12 07:52:46Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
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' 'mips64el')
@@ -16,14 +16,14 @@ source=(http://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.
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"