summaryrefslogtreecommitdiffstats
path: root/vhba-module/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-30 01:11:15 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-30 01:11:15 +0100
commit4efa028fc82176689995f24a217cd0cc56668637 (patch)
tree52dec397ae07307ed9516292cfff38ca32751ec2 /vhba-module/PKGBUILD
parent8188a93406cf6bae1a356d22ebd84c3cad0f5e6a (diff)
downloadaur-packages-4efa028fc82176689995f24a217cd0cc56668637.tar.gz
aur-packages-4efa028fc82176689995f24a217cd0cc56668637.tar.xz
update
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'vhba-module/PKGBUILD')
-rw-r--r--vhba-module/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/vhba-module/PKGBUILD b/vhba-module/PKGBUILD
index 6743122..cf6b507 100644
--- a/vhba-module/PKGBUILD
+++ b/vhba-module/PKGBUILD
@@ -1,22 +1,24 @@
-# $Id: PKGBUILD 6231 2009-12-05 18:35:20Z ibiru $
+# $Id: PKGBUILD 6790 2009-12-22 18:03:34Z ibiru $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=vhba-module
pkgver=1.2.1
-pkgrel=5
+_kernver='2.6.32-ARCH'
+pkgrel=6
pkgdesc="Kernel module that emulates SCSI devices"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
license=('GPL2')
-depends=('kernel26>=2.6.32' 'kernel26<2.6.33')
-makedepends=('kernel26-headers>=2.6.32')
+depends=('kernel26>=2.6.32.2' 'kernel26<2.6.33')
+makedepends=('kernel26-headers>=2.6.32.2')
install=vhba-module.install
source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2)
md5sums=('a3b6ad798f2b72ef599df797ef79e5ec')
build() {
- cd $srcdir/$pkgname-$pkgver
- make KDIR=/usr/src/linux-`uname -r` || return 1
- install -D vhba.ko $pkgdir/lib/modules/`uname -r`/extra/vhba.ko || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ make KDIR=/usr/src/linux-${_kernver} || return 1
+ install -D vhba.ko "$pkgdir/lib/modules/${_kernver}/extra/vhba.ko" || return 1
+ sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/vhba-module.install"
}