diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-17 00:06:56 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:05 (GMT) |
commit | 6b9c9d0e6335e536d3bbd990e780a710275c22de (patch) | |
tree | 171d8d37f11ea175632bf5b9dc1b931bc4cdbd1d | |
parent | 5595bd9f091248a9cc8dcca60776cd7c919d10ef (diff) | |
download | linhes_pkgbuild-6b9c9d0e6335e536d3bbd990e780a710275c22de.zip linhes_pkgbuild-6b9c9d0e6335e536d3bbd990e780a710275c22de.tar.gz linhes_pkgbuild-6b9c9d0e6335e536d3bbd990e780a710275c22de.tar.bz2 |
quota-tools, snappy: first include
-rw-r--r-- | abs/extra/quota-tools/PKGBUILD | 32 |
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} +} |