summaryrefslogtreecommitdiff
path: root/community/cdfs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cdfs/PKGBUILD')
-rw-r--r--community/cdfs/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/cdfs/PKGBUILD b/community/cdfs/PKGBUILD
index 8b79de1f5..e231f2f09 100644
--- a/community/cdfs/PKGBUILD
+++ b/community/cdfs/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 53785 2011-08-08 08:18:16Z spupykin $
+# $Id: PKGBUILD 58212 2011-11-08 22:41:05Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
pkgname=cdfs
pkgver=2.6.27
-pkgrel=16
+pkgrel=17
pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files."
arch=(i686 x86_64 'mips64el')
url="http://www.elis.UGent.be/~ronsse/cdfs/"
@@ -19,10 +19,10 @@ md5sums=('ac64c014a90e3c488394832ea29605b3'
build() {
_kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
depends=("linux>=3.${_kernver}" "linux<3.`expr ${_kernver} + 1`")
+ _kernverfull=`cat /lib/modules/extramodules-3.${_kernver}-ARCH/version`
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/cdfs-3.0.0.patch
- make
- mkdir -p $pkgdir/lib/modules/`uname -r`/extra
- cp cdfs.ko $pkgdir/lib/modules/`uname -r`/extra
+ make KDIR=/lib/modules/${_kernverfull}/build
+ install -Dm0644 cdfs.ko $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko
}