blob: d58311b239690416a6c95060a9d3d9e29e26682d (
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
|
# $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}
}
|