summaryrefslogtreecommitdiffstats
path: root/abs/core/reiserfsprogs/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 18:27:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 18:27:22 (GMT)
commitf9f26b2e450a57940680e87ad3b28e353f515a0e (patch)
treec7220c18b14f874025d948e9b2e2bf39812ec988 /abs/core/reiserfsprogs/PKGBUILD
parent8298cb10f4e15e5346b8fcb33d115d004b36e31c (diff)
downloadlinhes_pkgbuild-f9f26b2e450a57940680e87ad3b28e353f515a0e.zip
linhes_pkgbuild-f9f26b2e450a57940680e87ad3b28e353f515a0e.tar.gz
linhes_pkgbuild-f9f26b2e450a57940680e87ad3b28e353f515a0e.tar.bz2
reiserfsprogs 3.6.21
Diffstat (limited to 'abs/core/reiserfsprogs/PKGBUILD')
-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"
}