summaryrefslogtreecommitdiff
path: root/core/dmraid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/dmraid/PKGBUILD')
-rw-r--r--core/dmraid/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/core/dmraid/PKGBUILD b/core/dmraid/PKGBUILD
index 4161a74b1..118b43474 100644
--- a/core/dmraid/PKGBUILD
+++ b/core/dmraid/PKGBUILD
@@ -1,30 +1,33 @@
-# $Id: PKGBUILD 77425 2010-04-12 20:48:57Z thomas $
+# $Id: PKGBUILD 116764 2011-03-25 20:30:44Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
#Contributor: Urs Wolfer <uwolfer @ fwo.ch>
pkgname=dmraid
-pkgver=1.0.0.rc16+CVS
-pkgrel=2
+pkgver=1.0.0.rc16.3
+pkgrel=1
pkgdesc="Device mapper RAID interface"
url="http://people.redhat.com/~heinzm/sw/dmraid/"
depends=('device-mapper>=2.0.54')
arch=('i686' 'x86_64')
license=('GPL')
-source=(ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2
- #http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-$pkgver.tar.bz2
+source=(#ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2
+ http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-1.0.0.rc16-3.tar.bz2
dmraid_install
dmraid_hook)
install=dmraid.install
-md5sums=('c0de87073de96b311d26ab0170b2a753'
+md5sums=('819338fcef98e8e25819f0516722beeb'
'd01908b414e1686c0f3233ff37de78a5'
'0a748b6e78b156f2f9dda45fc629651f')
build() {
- cd "$srcdir"/$pkgname/$pkgver
-
+ cd "$srcdir"/$pkgname/1.0.0.rc16-3/$pkgname
./configure --enable-led --enable-intel_led
- make || return 1
- make DESTDIR="$pkgdir" mandir=/usr/share/man includedir=/usr/include install || return 1
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname/1.0.0.rc16-3/$pkgname
+ make DESTDIR="$pkgdir" prefix=/ libdir=/lib mandir=/usr/share/man includedir=/usr/include install
mkdir -p "$pkgdir"/var/lock/dmraid
chmod 1777 "$pkgdir"/var/lock/
install -D -m644 "$srcdir"/dmraid_install "$pkgdir"/lib/initcpio/install/dmraid