102.11.0-1
[arch-packages.git] / quota-tools / trunk / PKGBUILD
blob330660905edec5a99d88fb9741a5478d14af50f8
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=quota-tools
4 pkgver=4.09
5 pkgrel=1
6 epoch=1
7 pkgdesc="Tools to manage kernel-level quotas in Linux"
8 arch=(x86_64)
9 url="https://sourceforge.net/projects/linuxquota/"
10 license=(GPL BSD)
11 depends=(libnl dbus libtirpc)
12 makedepends=(rpcsvc-proto)
13 backup=('etc/warnquota.conf' 'etc/quotatab' 'etc/quotagrpadmins')
14 source=(https://downloads.sourceforge.net/sourceforge/linuxquota/quota-$pkgver.tar.gz)
15 sha256sums=('9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9')
17 build() {
18   cd quota-$pkgver
19   ./configure --prefix=/usr --sysconfdir=/etc
20   make
23 package() {
24   cd quota-$pkgver
25   make DESTDIR="$pkgdir" sbindir=/usr/bin root_sbindir=/usr/bin STRIP="" install
26   install -d "$pkgdir/usr/share/licenses/$pkgname"
27   head -33 quota.c > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29 # remove conflicts with glibc
30   rm -r "$pkgdir"/usr/include