From 98af7523b7a65ad6ddff389ae42f173a159c614f Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 21:47:38 -0500
Subject: jfsutils 1.1.15

---
 abs/core/jfsutils/PKGBUILD | 36 +++++++++++++++++++++---------------
 1 file 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
 }
-- 
cgit v0.12

