blob: 33474d7e9ef73331dc97e2b238e14d58e249dd63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 163746 2012-07-18 22:38:58Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=quota-tools
pkgver=4.00
pkgrel=1
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 \
LICENSE)
sha1sums=('9ef79933bebfd80f007600fd422616ad161c5fd0'
'57297bdc9e638c500506169bbbe12eb89bcf7d07')
build() {
cd "${srcdir}/${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc
make RPCGEN="rpcgen -Y /usr/bin"
}
package() {
cd "${srcdir}/${pkgname}"
make ROOTDIR="${pkgdir}" install
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove conflicts with glibc
rm "${pkgdir}"/usr/include/rpcsvc/rquota.{h,x}
}
|