summaryrefslogtreecommitdiffstats
path: root/abs/extra/quota-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/quota-tools/PKGBUILD')
-rw-r--r--abs/extra/quota-tools/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/quota-tools/PKGBUILD b/abs/extra/quota-tools/PKGBUILD
new file mode 100644
index 0000000..d58311b
--- /dev/null
+++ b/abs/extra/quota-tools/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 185213 2013-05-12 07:52:46Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=quota-tools
+pkgver=4.01
+pkgrel=2
+epoch=1
+pkgdesc="Tools to manage kernel-level quotas in Linux"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/linuxquota/"
+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)
+sha1sums=('64d2ab8b039cfea1aa4bd9e77e8c373488a7f0bf')
+
+build() {
+ cd ${pkgname}
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ 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"
+
+# remove conflicts with glibc
+ rm "${pkgdir}"/usr/include/rpcsvc/rquota.{h,x}
+}