PKGBUILD 767 B

12345678910111213141516171819202122232425262728293031
  1. # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
  2. pkgname=sysfsutils
  3. pkgver=2.1.0
  4. pkgrel=10
  5. pkgdesc="System Utilities Based on Sysfs"
  6. arch=('x86_64' 'ppc64le')
  7. license=('GPL' 'LGPL')
  8. url="http://linux-diag.sourceforge.net/Sysfsutils.html"
  9. groups=('base')
  10. depends=('glibc')
  11. source=(http://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz)
  12. sha512sums=('485902d98b41a69343cb037883d0c0a1de8a1a4aed657cd4528fe10bc845ac51629657dff01deef042e57c9bd9243095e23fc931d06d74db31b03c5f0a18cf07')
  13. build() {
  14. cd "$pkgname-$pkgver"
  15. ./configure --prefix=/usr --mandir=/usr/share/man
  16. make
  17. }
  18. check() {
  19. cd "$pkgname-$pkgver"
  20. make check
  21. }
  22. package() {
  23. cd "$pkgname-$pkgver"
  24. make DESTDIR="$pkgdir" install
  25. rm "$pkgdir/usr/lib/libsysfs.a"
  26. }