[arch-commits] Commit in sysfsutils/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Fri Mar 5 10:41:29 UTC 2021
Date: Friday, March 5, 2021 @ 10:41:29
Author: tpowa
Revision: 409419
archrelease: copy trunk to testing-x86_64
Added:
sysfsutils/repos/testing-x86_64/
sysfsutils/repos/testing-x86_64/PKGBUILD
(from rev 409418, sysfsutils/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: sysfsutils/repos/testing-x86_64/PKGBUILD (from rev 409418, sysfsutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-03-05 10:41:29 UTC (rev 409419)
@@ -0,0 +1,35 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=sysfsutils
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="System Utilities Based on Sysfs"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+url="http://linux-diag.sourceforge.net/Sysfsutils.html"
+depends=('glibc')
+makedepends=('git')
+source=("git+https://github.com/linux-ras/sysfsutils.git#tag=v${pkgver}")
+
+prepare() {
+cd "$pkgname"
+ ./autogen
+}
+
+build() {
+ cd "$pkgname"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd "$pkgname"
+ make check
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir/usr/lib/libsysfs.a"
+}
+md5sums=('SKIP')
More information about the arch-commits
mailing list