jobcore/sysfsutils/PKGBUILD
2022-03-20 14:19:37 +02:00

43 lines
895 B
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=sysfsutils
pkgver=2.1.1
pkgrel=01
pkgdesc="System Utilities Based on Sysfs"
arch=(x86_64)
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"
}
#---- license gpg-key sha256sums ----
license=('GPL' 'LGPL')
sha256sums=(SKIP)