# $Id: PKGBUILD 82635 2010-06-15 04:31:03Z allan $
# 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"
license=('GPL')
groups=('base')
depends=('e2fsprogs')
source=(http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz)
md5sums=('05150840987176d5e8438066b80add1a')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
}
package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install || return 1
  mv $pkgdir/usr/sbin $pkgdir
}