summaryrefslogtreecommitdiff
path: root/libre/cdfs-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-18 22:57:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-18 22:57:00 -0300
commit7848046191f737e675f53deda343d787645ecf85 (patch)
treefedc9e14b5cd2db9470432cd49febab18bc9445f /libre/cdfs-libre/PKGBUILD
parentcf187b1042f91f4b6b9630299281908b9fcb583f (diff)
downloadabslibre-7848046191f737e675f53deda343d787645ecf85.tar.gz
abslibre-7848046191f737e675f53deda343d787645ecf85.tar.bz2
abslibre-7848046191f737e675f53deda343d787645ecf85.zip
cdfs-libre-2.6.27-38: rebuild against linux-libre 3.8 series
Diffstat (limited to 'libre/cdfs-libre/PKGBUILD')
-rw-r--r--libre/cdfs-libre/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/cdfs-libre/PKGBUILD b/libre/cdfs-libre/PKGBUILD
index 12e461519..290eff882 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=36
+pkgrel=38
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/"
@@ -19,27 +19,30 @@ install=cdfs.install
source=("http://www.elis.UGent.be/~ronsse/cdfs/download/$_pkgname-$pkgver.tar.bz2"
"cdfs-3.0.patch"
"cdfs-3.2.patch"
- "cdfs-3.4.patch")
+ "cdfs-3.4.patch"
+ "cdfs-3.8.patch")
md5sums=('ac64c014a90e3c488394832ea29605b3'
'aba7da94a9dcbb8a93ea423cb6958fef'
'e934407b3460257a301822ffc4ab3933'
- '9215e7bdac728bd2f889fb525e543454')
+ '9215e7bdac728bd2f889fb525e543454'
+ 'b036fd72b033294605bec2b60a73e3bd')
_kernver=`pacman -Q linux-libre | cut -d . -f 2 | cut -f 1 -d -`
_kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-LIBRE/version`
build() {
- depends=("linux-libre>=3.${_kernver}" "linux-libre<3.`expr ${_kernver} + 1`")
-
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
+ patch -p1 <$srcdir/cdfs-3.8.patch
make KDIR=/usr/lib/modules/${_kernverfull}/build
sed -i "s|extramodules-.*-LIBRE|extramodules-3.${_kernver}-LIBRE|" $startdir/cdfs.install
}
package() {
+ depends=("linux-libre>=3.${_kernver}" "linux-libre<3.`expr ${_kernver} + 1`")
+
cd $srcdir/$_pkgname-$pkgver
install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/extramodules-3.${_kernver}-LIBRE/cdfs.ko
}