initial import
This commit is contained in:
52
quota-tools/PKGBUILD
Normal file
52
quota-tools/PKGBUILD
Normal file
@@ -0,0 +1,52 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=quota-tools
|
||||
pkgver=4.06
|
||||
pkgrel=4
|
||||
epoch=1
|
||||
pkgdesc="Tools to manage kernel-level quotas"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://linuxquota.sourceforge.io/"
|
||||
license=('GPL-2' 'Modified-BSD')
|
||||
depends=('e2fsprogs' 'libwrap')
|
||||
makedepends=('rpcsvc-proto')
|
||||
backup=('etc/warnquota.conf'
|
||||
'etc/quotatab'
|
||||
'etc/quotagrpadmins'
|
||||
'etc/conf.d/quota')
|
||||
options=('!emptydirs')
|
||||
source=(https://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.tar.gz
|
||||
quota.confd
|
||||
quota.initd
|
||||
rpc-rquotad.initd
|
||||
LICENSE)
|
||||
sha512sums=('cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871'
|
||||
'3253b69932332eff2944753f687d780d651dc2b21b524b7055164b91292c13c346cd46443bd58267b239f72fd8918a7e113eec62871573ee94e33df5eb3c82f8'
|
||||
'6a0536285bb340779cf4989060ed5a10c9c4a24a48d334174cd84cd54938d042f7a4047f837f96fc7a3c88a1d20317f662c984bd88c00b32cbf48302ba82a529'
|
||||
'c6ab8d6e0e15032bbbee523c2550e7f23d48fb45035d37181e988f2f96cd1ece316681f1b529b51fd1aeb390c5f27a6911f5de52132e90b4cbcfb4c2dfc95954'
|
||||
'ecf32a73808915c8ed7c29e0bbf195c33eedfe929752b6857cf86956cd73b512d7906b06c8ec14a6ba0dac41e4523bfecf1422d31a48567f843d869e38e164b8')
|
||||
|
||||
build() {
|
||||
cd quota-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-libwrap \
|
||||
--enable-rpc \
|
||||
--enable-rpcsetquota
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd quota-$pkgver
|
||||
make DESTDIR="${pkgdir}" STRIP="" install
|
||||
install -Dm644 ${srcdir}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
|
||||
install -Dm644 ${srcdir}/quota.confd ${pkgdir}/etc/conf.d/quota
|
||||
for f in quota rpc-rquotad; do
|
||||
install -Dm755 ${srcdir}/$f.initd ${pkgdir}/etc/init.d/$f
|
||||
done
|
||||
|
||||
# remove conflicts
|
||||
rm -rf "${pkgdir}"/usr/include
|
||||
}
|
||||
Reference in New Issue
Block a user