summaryrefslogtreecommitdiffstats
path: root/abs/core/jfsutils
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/jfsutils')
-rw-r--r--abs/core/jfsutils/PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/abs/core/jfsutils/PKGBUILD b/abs/core/jfsutils/PKGBUILD
index 2cb1052..fee4867 100644
--- a/abs/core/jfsutils/PKGBUILD
+++ b/abs/core/jfsutils/PKGBUILD
@@ -1,24 +1,30 @@
-# $Id: PKGBUILD 82635 2010-06-15 04:31:03Z allan $
+# $Id: PKGBUILD 142848 2011-11-17 00:38:27Z bisson $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+
pkgname=jfsutils
-pkgver=1.1.14
-pkgrel=1
-pkgdesc="JFS filesystem utilities"
-arch=(i686 x86_64)
-url="http://jfs.sourceforge.net"
+pkgver=1.1.15
+pkgrel=3
+pkgdesc='JFS filesystem utilities'
+arch=('i686' 'x86_64')
+url='http://jfs.sourceforge.net'
license=('GPL')
groups=('base')
-depends=('e2fsprogs')
-source=(http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz)
-md5sums=('05150840987176d5e8438066b80add1a')
+depends=('util-linux-ng')
+source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --sbindir=/sbin
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
}
+
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install || return 1
- mv $pkgdir/usr/sbin $pkgdir
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}