pkgname=sysfsutils pkgver=2.1.1 pkgrel=6 pkgdesc="System Utilities Based on Sysfs" arch=('x86_64') license=('GPL' 'LGPL') url="https://linux-diag.sourceforge.net/Sysfsutils.html" groups=('base') depends=('glibc') options=('!libtool') #source=("https://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz") source=("https://github.com/linux-ras/sysfsutils/archive/v${pkgver}.tar.gz") md5sums=('537c110be7244905997262854505c30f') build() { cd ${pkgname}-${pkgver} ./autogen ./configure --prefix=/usr \ --mandir=/usr/share/man \ --disable-static make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }