1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc="Tools to manage kernel-level quotas in Linux"
9 url="https://sourceforge.net/projects/linuxquota/"
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')
19 ./configure --prefix=/usr --sysconfdir=/etc
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