blob: 4dd3037178663e3b69ed36aedd75a2205d838f14 (
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
34
|
# $Id: PKGBUILD 122880 2011-05-07 02:23:54Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=quota-tools
pkgver=3.17
pkgrel=2
pkgdesc="Tools to manage kernel-level quotas in Linux"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/linuxquota/"
license=('GPL' 'BSD')
depends=('e2fsprogs' 'tcp_wrappers')
backup=('etc/warnquota.conf' 'etc/quotatab' 'etc/quotagrpadmins')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.tar.gz LICENSE)
md5sums=('cb3e98a039c0cf98e7c1ad4b50a5bda7'
'dd792440e684043e4e4ef80963d0237b')
sha1sums=('8dc04ea803a43496dfe275a8260757f558a2d762'
'57297bdc9e638c500506169bbbe12eb89bcf7d07')
build() {
cd "${srcdir}/${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${pkgname}"
make ROOTDIR="${pkgdir}" install
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove conflicts with glibc and man-pages
rm "${pkgdir}"/usr/include/rpcsvc/rquota.{h,x}
rm "${pkgdir}/usr/share/man/man2/quotactl.2"
}
|