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/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/quota-tools/PKGBUILD b/extra/quota-tools/PKGBUILD
index 33474d7e9..41bb7f216 100644
--- a/extra/quota-tools/PKGBUILD
+++ b/extra/quota-tools/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 163746 2012-07-18 22:38:58Z eric $
+# $Id: PKGBUILD 167201 2012-09-27 19:22:41Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=quota-tools
-pkgver=4.00
+pkgver=4.01
pkgrel=1
epoch=1
pkgdesc="Tools to manage kernel-level quotas in Linux"
@@ -12,21 +12,20 @@ license=('GPL' 'BSD')
depends=('e2fsprogs')
backup=('etc/warnquota.conf' 'etc/quotatab' 'etc/quotagrpadmins')
options=('!emptydirs')
-source=(http://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.tar.gz \
- LICENSE)
-sha1sums=('9ef79933bebfd80f007600fd422616ad161c5fd0'
- '57297bdc9e638c500506169bbbe12eb89bcf7d07')
+source=(http://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.tar.gz)
+sha1sums=('64d2ab8b039cfea1aa4bd9e77e8c373488a7f0bf')
build() {
cd "${srcdir}/${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc
- make RPCGEN="rpcgen -Y /usr/bin"
+ make
}
package() {
cd "${srcdir}/${pkgname}"
make ROOTDIR="${pkgdir}" install
- install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ head -33 quota.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove conflicts with glibc
rm "${pkgdir}"/usr/include/rpcsvc/rquota.{h,x}