[arch-commits] Commit in quota-tools/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Nov 13 20:13:43 UTC 2021
Date: Saturday, November 13, 2021 @ 20:13:43
Author: foutrelis
Revision: 428339
archrelease: copy trunk to staging-x86_64
Added:
quota-tools/repos/staging-x86_64/
quota-tools/repos/staging-x86_64/PKGBUILD
(from rev 428338, quota-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: quota-tools/repos/staging-x86_64/PKGBUILD (from rev 428338, quota-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-11-13 20:13:43 UTC (rev 428339)
@@ -0,0 +1,31 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=quota-tools
+pkgver=4.06
+pkgrel=2
+epoch=1
+pkgdesc="Tools to manage kernel-level quotas in Linux"
+arch=(x86_64)
+url="https://sourceforge.net/projects/linuxquota/"
+license=(GPL BSD)
+depends=(libnl dbus libtirpc)
+makedepends=(rpcsvc-proto)
+backup=('etc/warnquota.conf' 'etc/quotatab' 'etc/quotagrpadmins')
+source=(https://downloads.sourceforge.net/sourceforge/linuxquota/quota-$pkgver.tar.gz)
+sha1sums=('98288699cc14da42f762301c2b6731ec7c777681')
+
+build() {
+ cd quota-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd quota-$pkgver
+ make DESTDIR="$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 -r "$pkgdir"/usr/include
+}
More information about the arch-commits
mailing list