diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-02-14 12:13:51 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-02-14 12:13:51 -0200 |
commit | f67b20d8da80cc120dcfea0d3405de74a8e5f84a (patch) | |
tree | 2d57e7cdc4772adc20017980fda13f1267cfc127 /libre/cdfs-libre | |
parent | 327433a2a7ae50151dcf0e6f6840a3eb5c065808 (diff) | |
parent | 9e33e61c00e3da5565b47e16b6618ab98c9ea38f (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/cdfs-libre')
-rw-r--r-- | libre/cdfs-libre/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libre/cdfs-libre/PKGBUILD b/libre/cdfs-libre/PKGBUILD index 8eada2132..12e461519 100644 --- a/libre/cdfs-libre/PKGBUILD +++ b/libre/cdfs-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=cdfs pkgname=cdfs-libre pkgver=2.6.27 -pkgrel=35 +pkgrel=36 pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files (built for the linux-libre kernel package)" arch=(i686 x86_64 mips64el) url="http://www.elis.UGent.be/~ronsse/cdfs/" @@ -25,16 +25,21 @@ md5sums=('ac64c014a90e3c488394832ea29605b3' 'e934407b3460257a301822ffc4ab3933' '9215e7bdac728bd2f889fb525e543454') +_kernver=`pacman -Q linux-libre | cut -d . -f 2 | cut -f 1 -d -` +_kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-LIBRE/version` + build() { - _kernver=`pacman -Q linux-libre | cut -d . -f 2 | cut -f 1 -d -` depends=("linux-libre>=3.${_kernver}" "linux-libre<3.`expr ${_kernver} + 1`") - _kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-LIBRE/version` cd $srcdir/$_pkgname-$pkgver patch -p1 <$srcdir/cdfs-3.0.patch patch -p1 <$srcdir/cdfs-3.2.patch patch -p1 <$srcdir/cdfs-3.4.patch make KDIR=/usr/lib/modules/${_kernverfull}/build - install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/extramodules-3.${_kernver}-LIBRE/cdfs.ko sed -i "s|extramodules-.*-LIBRE|extramodules-3.${_kernver}-LIBRE|" $startdir/cdfs.install } + +package() { + cd $srcdir/$_pkgname-$pkgver + install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/extramodules-3.${_kernver}-LIBRE/cdfs.ko +} |