diff options
Diffstat (limited to 'libre-testing/jfsutils/PKGBUILD')
-rw-r--r-- | libre-testing/jfsutils/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libre-testing/jfsutils/PKGBUILD b/libre-testing/jfsutils/PKGBUILD new file mode 100644 index 000000000..81a5d3aa3 --- /dev/null +++ b/libre-testing/jfsutils/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + +pkgname=jfsutils +pkgver=1.1.15 +pkgrel=6 +pkgdesc='JFS filesystem utilities' +url='http://jfs.sourceforge.net' +arch=(x86_64 ppc64le) +license=('GPL') +depends=('util-linux') +source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz" + 'inttypes.patch' + 'sysmacros.patch') +sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d' + '15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3' + 'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28') + +groups=('base') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../inttypes.patch + patch -p1 -i ../sysmacros.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sbindir=/usr/bin + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |