PKGBUILD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
  2. # Maintainer: Gaetan Bisson <bisson@archlinux.org>
  3. pkgname=jfsutils
  4. pkgver=1.1.15
  5. pkgrel=6
  6. pkgdesc='JFS filesystem utilities'
  7. url='http://jfs.sourceforge.net'
  8. arch=(x86_64 ppc64le)
  9. license=('GPL')
  10. depends=('util-linux')
  11. source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz"
  12. 'inttypes.patch'
  13. 'sysmacros.patch')
  14. sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
  15. '15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3'
  16. 'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28')
  17. groups=('base')
  18. prepare() {
  19. cd "${srcdir}/${pkgname}-${pkgver}"
  20. patch -p1 -i ../inttypes.patch
  21. patch -p1 -i ../sysmacros.patch
  22. }
  23. build() {
  24. cd "${srcdir}/${pkgname}-${pkgver}"
  25. ./configure --prefix=/usr --sbindir=/usr/bin
  26. make
  27. }
  28. check() {
  29. cd "${srcdir}/${pkgname}-${pkgver}"
  30. make check
  31. }
  32. package() {
  33. cd "${srcdir}/${pkgname}-${pkgver}"
  34. make DESTDIR="${pkgdir}" install
  35. }