archrelease: copy trunk to extra-x86_64
[arch-packages.git] / quota-tools / repos / extra-x86_64 / PKGBUILD
blob2e41a6d0de8af6419fd3b4f06ce77625059cee75
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 sha1sums=('5c215d869626b532be2773f4161bdcc8b9f97126')
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