summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:47:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:47:38 (GMT)
commit98af7523b7a65ad6ddff389ae42f173a159c614f (patch)
treeff00071d81bd81a68dba11787d29d153770a3514 /abs/core
parent201fe966da169b03054b33c44f52f8c59545eba9 (diff)
downloadlinhes_pkgbuild-98af7523b7a65ad6ddff389ae42f173a159c614f.zip
linhes_pkgbuild-98af7523b7a65ad6ddff389ae42f173a159c614f.tar.gz
linhes_pkgbuild-98af7523b7a65ad6ddff389ae42f173a159c614f.tar.bz2
jfsutils 1.1.15
Diffstat (limited to 'abs/core')
-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
}