OCaml 4.14.0 rebuild
[arch-packages.git] / quota-tools / trunk / PKGBUILD
blob614033e816a6bfb84e5d685b4c4bf3ef75800b99
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=quota-tools
4 pkgver=4.06
5 pkgrel=2
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=('98288699cc14da42f762301c2b6731ec7c777681')
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