All pastes #1713838 Raw Edit

Untitled

public text v1 · immutable
#1713838 ·published 2009-12-14 01:12 UTC
rendered paste body
--- /var/abs/community/vhba-module/PKGBUILD	2009-12-09 07:16:25.000000000 +0200
+++ PKGBUILD	2009-12-14 03:11:34.493335921 +0200
@@ -2,7 +2,8 @@
 # Maintainer: Mateusz Herych <heniekk@gmail.com>
 # Contributor: Charles Lindsay <charles@chaoslizard.org>
 
-pkgname=vhba-module
+pkgname=vhba-module-bfs
+_pkgname=vhba-module
 pkgver=1.2.1
 pkgrel=4
 pkgdesc="Kernel module that emulates SCSI devices"
@@ -11,11 +12,11 @@
 license=('GPL2')
 depends=('kernel26>=2.6.31' 'kernel26<2.6.32')
 install=vhba-module.install
-source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2)
+source=(http://downloads.sourceforge.net/cdemu/$_pkgname-$pkgver.tar.bz2)
 md5sums=('a3b6ad798f2b72ef599df797ef79e5ec')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd "$startdir/src/$_pkgname-$pkgver"
   make KDIR=/usr/src/linux-`uname -r` || return 1
   install -D vhba.ko $startdir/pkg/lib/modules/`uname -r`/extra/vhba.ko || return 1
 }