summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/reiserfsprogs/PKGBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/abs/core/reiserfsprogs/PKGBUILD b/abs/core/reiserfsprogs/PKGBUILD
index 1e20cc2..ca73bf4 100644
--- a/abs/core/reiserfsprogs/PKGBUILD
+++ b/abs/core/reiserfsprogs/PKGBUILD
@@ -1,24 +1,34 @@
-# $Id: PKGBUILD 48336 2009-08-01 14:36:12Z jgc $
+# $Id: PKGBUILD 142934 2011-11-18 14:00:58Z pierre $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=reiserfsprogs
pkgver=3.6.21
-pkgrel=2
+pkgrel=4
pkgdesc="Reiserfs utilities"
-arch=(i686 x86_64)
-url=http://www.kernel.org/pub/linux/utils/fs/reiserfs/README
+arch=('i686' 'x86_64')
+url="http://www.kernel.org/"
license=('GPL')
groups=('base')
-depends=('util-linux-ng>=2.16')
-source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-${pkgver}.tar.bz2)
+depends=('util-linux-ng')
+source=("ftp://ftp.archlinux.org/other/reiserfsprogs/reiserfsprogs-${pkgver}.tar.bz2")
md5sums=('0639cefac8f8150536cfa7531c2aa2d2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sbindir=/sbin || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr --sbindir=/sbin
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
ln -s reiserfsck "${pkgdir}/sbin/fsck.reiserfs"
ln -s mkreiserfs "${pkgdir}/sbin/mkfs.reiserfs"
}