summaryrefslogtreecommitdiff
path: root/community/vhba-module/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-03 13:36:36 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-03 13:36:36 -0300
commit8c1cd392b43a7018099ce64f9359b76c2de14640 (patch)
treeb3c0d54454025b6bc478768a07b9cf7bdcca2289 /community/vhba-module/PKGBUILD
parent5a01c45ea1ee67df43e376e2e4aa1833edd2ff30 (diff)
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/apvlv/PKGBUILD community/i3-wm/PKGBUILD community/jack2/PKGBUILD community/perl-list-moreutils/PKGBUILD community/qc-usb-messenger/PKGBUILD community/sword/PKGBUILD community/virtualbox/PKGBUILD community/vuze/PKGBUILD extra/archboot/PKGBUILD extra/ardour/PKGBUILD extra/boost/PKGBUILD extra/digikam/PKGBUILD extra/jack/PKGBUILD extra/kdebase-konsole/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/kdebindings-kimono/PKGBUILD extra/kdebindings-korundum/PKGBUILD extra/kdebindings-kross/PKGBUILD extra/kdebindings-perlkde/PKGBUILD extra/kdebindings-perlqt/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdebindings-qtruby/PKGBUILD extra/kdebindings-qyoto/PKGBUILD extra/kdebindings-smokegen/PKGBUILD extra/kdebindings-smokekde/PKGBUILD extra/kdebindings-smokeqt/PKGBUILD extra/kdebindings/PKGBUILD extra/kdeedu-blinken/PKGBUILD extra/kdeedu-blinken/kdeedu-blinken.install extra/kdeedu-cantor/PKGBUILD extra/kdeedu-cantor/kdeedu-cantor.install extra/kdeedu-kalgebra/PKGBUILD extra/kdeedu-kalgebra/kdeedu-kalgebra.install extra/kdeedu-kalzium/PKGBUILD extra/kdeedu-kalzium/kdeedu-kalzium.install extra/kdeedu-kanagram/PKGBUILD extra/kdeedu-kanagram/kdeedu-kanagram.install extra/kdeedu-kbruch/PKGBUILD extra/kdeedu-kbruch/kdeedu-kbruch.install extra/kdeedu-kgeography/PKGBUILD extra/kdeedu-kgeography/kdeedu-kgeography.install extra/kdeedu-khangman/PKGBUILD extra/kdeedu-khangman/kdeedu-khangman.install extra/kdeedu-kig/PKGBUILD extra/kdeedu-kig/kdeedu-kig.install extra/kdeedu-kiten/PKGBUILD extra/kdeedu-kiten/kdeedu-kiten.install extra/kdeedu-klettres/PKGBUILD extra/kdeedu-klettres/kdeedu-klettres.install extra/kdeedu-kmplot/PKGBUILD extra/kdeedu-kmplot/kdeedu-kmplot.install extra/kdeedu-kstars/PKGBUILD extra/kdeedu-kstars/kdeedu-kstars.install extra/kdeedu-ktouch/PKGBUILD extra/kdeedu-ktouch/kdeedu-ktouch.install extra/kdeedu-kturtle/PKGBUILD extra/kdeedu-kturtle/kdeedu-kturtle.install extra/kdeedu-kwordquiz/PKGBUILD extra/kdeedu-kwordquiz/kdeedu-kwordquiz.install extra/kdeedu-marble/PKGBUILD extra/kdeedu-marble/gpsd-2.96.patch extra/kdeedu-marble/kdeedu-marble.install extra/kdeedu-parley/PKGBUILD extra/kdeedu-parley/kdeedu-parley.install extra/kdeedu-rocs/PKGBUILD extra/kdeedu-step/PKGBUILD extra/kdeedu-step/kdeedu-step.install extra/kdegraphics-gwenview/PKGBUILD extra/kdegraphics-gwenview/kdegraphics-gwenview.install extra/kdegraphics-kamera/PKGBUILD extra/kdegraphics-kcolorchooser/PKGBUILD extra/kdegraphics-kcolorchooser/kdegraphics-kcolorchooser.install extra/kdegraphics-kgamma/PKGBUILD extra/kdegraphics-kolourpaint/PKGBUILD extra/kdegraphics-kolourpaint/kdegraphics-kolourpaint.install extra/kdegraphics-kruler/PKGBUILD extra/kdegraphics-kruler/kdegraphics-kruler.install extra/kdegraphics-ksaneplugin/PKGBUILD extra/kdegraphics-ksnapshot/PKGBUILD extra/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install extra/kdegraphics-okular/PKGBUILD extra/kdegraphics-okular/kdegraphics-okular.install extra/kdegraphics-strigi-analyzer/PKGBUILD extra/kdegraphics-svgpart/PKGBUILD extra/kdegraphics-thumbnailers/PKGBUILD extra/kdegraphics/PKGBUILD extra/kdelibs/PKGBUILD extra/kdemultimedia/PKGBUILD extra/kdepim-runtime/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/kdesdk-kate/PKGBUILD extra/kdesdk-kate/kdebase-kwrite.install extra/kdesdk-kate/kdesdk-kate.install extra/kdesdk-kate/pkgbuild-syntax-highlight.patch extra/kdeutils/PKGBUILD extra/kipi-plugins/PKGBUILD extra/koffice/PKGBUILD extra/konq-plugins/PKGBUILD extra/libkdcraw/PKGBUILD extra/libkdcraw/libkdcraw.install extra/libkdeedu/PKGBUILD extra/libkdeedu/libkdeedu.install extra/libkexiv2/PKGBUILD extra/libkipi/PKGBUILD extra/libkipi/libkipi.install extra/libksane/PKGBUILD extra/libksane/libksane.install extra/liblrdf/PKGBUILD extra/maxima/PKGBUILD extra/mysql/PKGBUILD extra/partitionmanager/PKGBUILD extra/pygobject/PKGBUILD extra/samba/PKGBUILD extra/sbcl/PKGBUILD extra/texlive-bin/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-freetype2/PKGBUILD multilib/lib32-jack/PKGBUILD multilib/lib32-libsndfile/PKGBUILD testing/mesa/PKGBUILD ~fauno/notmuch/PKGBUILD
Diffstat (limited to 'community/vhba-module/PKGBUILD')
-rw-r--r--community/vhba-module/PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community/vhba-module/PKGBUILD b/community/vhba-module/PKGBUILD
index 509ff2db3..fc76e3b59 100644
--- a/community/vhba-module/PKGBUILD
+++ b/community/vhba-module/PKGBUILD
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD 48166 2011-05-29 11:57:10Z mherych $
+# $Id: PKGBUILD 51733 2011-07-13 18:23:43Z schiv $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=vhba-module
-pkgver=20100822
+pkgver=20110416
_kernver='2.6.39-ARCH'
-pkgrel=5
+pkgrel=1
pkgdesc="Kernel module that emulates SCSI devices"
arch=('i686' 'x86_64' 'mips64el')
url="http://cdemu.sourceforge.net/"
license=('GPL2')
depends=('kernel26>=2.6.39' 'kernel26<2.6.40')
-makedepends=('kernel26-headers>=2.6.39' 'git')
+makedepends=('kernel26-headers>=2.6.39')
install=vhba-module.install
-source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz
- vhba-kernel2.6.37.patch)
-md5sums=('1d2f06ae33c5d15b7c29e467e4658aa2'
- 'f0499fc54f6ef9b8d6ca0b9e940c5906')
+source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz)
+md5sums=('2f91dd4ee8648da92d625221d4275b60')
build() {
cd "$srcdir/$pkgname-$pkgver"
- git apply -p2 ../vhba-kernel2.6.37.patch
- make -j1 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"
+ make -j1 KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -D vhba.ko "$pkgdir/lib/modules/${_kernver}/extra/vhba.ko"
+ sed -i "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/vhba-module.install"
}