diff options
Diffstat (limited to 'community-testing/vhba-module')
-rw-r--r-- | community-testing/vhba-module/PKGBUILD | 13 | ||||
-rw-r--r-- | community-testing/vhba-module/vhba-module.install | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/community-testing/vhba-module/PKGBUILD b/community-testing/vhba-module/PKGBUILD index 2384a2c8a..cc8d2ef4d 100644 --- a/community-testing/vhba-module/PKGBUILD +++ b/community-testing/vhba-module/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 73232 2012-07-04 01:02:29Z dreisner $ +# $Id: PKGBUILD 74284 2012-07-23 12:36:47Z tpowa $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Charles Lindsay <charles@chaoslizard.org> pkgname=vhba-module pkgver=20120422 -_extramodules=extramodules-3.4-ARCH -pkgrel=3 +_extramodules=extramodules-3.5-ARCH +pkgrel=5 pkgdesc="Kernel module that emulates SCSI devices" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" license=('GPL') -depends=('linux>=3.4' 'linux<3.5') -makedepends=('linux-headers>=3.4') +depends=('linux>=3.5' 'linux<3.6') +makedepends=('linux-headers') options=(!makeflags) install=$pkgname.install source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2" @@ -31,7 +31,8 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - install -D vhba.ko "$pkgdir/usr/lib/modules/$_extramodules/vhba.ko" + install -Dm644 vhba.ko \ + "$pkgdir/usr/lib/modules/$_extramodules/vhba.ko" sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extramodules'/" \ "$startdir/vhba-module.install" diff --git a/community-testing/vhba-module/vhba-module.install b/community-testing/vhba-module/vhba-module.install index 8458b2ae7..86ad03a5e 100644 --- a/community-testing/vhba-module/vhba-module.install +++ b/community-testing/vhba-module/vhba-module.install @@ -1,7 +1,7 @@ post_upgrade() { ! grep -q 'cdemu' /etc/group && groupadd cdemu echo " > Updating module dependencies..." - EXTRAMODULES='extramodules-3.4-ARCH' + EXTRAMODULES='extramodules-3.5-ARCH' depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } |