diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-11-04 13:09:26 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-11-04 13:09:26 +0100 |
commit | 3fedb25a355a789d461b36038c13619406a2f81b (patch) | |
tree | 2f1c9895b84f0c4f55f7d58e095ad43032c563c3 /libre/virtualbox-parabola-modules/PKGBUILD | |
parent | f6252d7e90db77f5715df1c23e19ede1958cb0ef (diff) | |
download | abslibre-3fedb25a355a789d461b36038c13619406a2f81b.tar.gz abslibre-3fedb25a355a789d461b36038c13619406a2f81b.tar.bz2 abslibre-3fedb25a355a789d461b36038c13619406a2f81b.zip |
Don't make unnecessary changes in virtualbox-parabola-modules, don't
require linux-libre before it will be installed.
Diffstat (limited to 'libre/virtualbox-parabola-modules/PKGBUILD')
-rw-r--r-- | libre/virtualbox-parabola-modules/PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libre/virtualbox-parabola-modules/PKGBUILD b/libre/virtualbox-parabola-modules/PKGBUILD index 7012d5943..d077c092a 100644 --- a/libre/virtualbox-parabola-modules/PKGBUILD +++ b/libre/virtualbox-parabola-modules/PKGBUILD @@ -4,11 +4,11 @@ pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-parabola-modules') pkgver=4.1.4 -pkgrel=3 +pkgrel=3.1 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers') +makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers' 'linux-libre') [[ $CARCH == "x86_64" ]] && makedepends=("${makedepends[@]}" 'gcc-multilib' 'lib32-glibc') source=(http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2 LocalConfig.kmk 60-vboxguest.rules) @@ -17,12 +17,13 @@ md5sums=('dc6e6801b3823332b6ca2e9915221aae' 'ed1341881437455d9735875ddf455fbe') _extramodules=extramodules-3.1-LIBRE -_kernver="$(cat /lib/modules/${_extramodules}/version)" - -export KERN_DIR=/lib/modules/${_kernver}/build -export KERN_INCL=/usr/src/linux-${_kernver}/include/ build() { + _kernver="$(cat /lib/modules/${_extramodules}/version)" + + export KERN_DIR=/lib/modules/${_kernver}/build + export KERN_INCL=/usr/src/linux-${_kernver}/include/ + cd "$srcdir/VirtualBox-${pkgver}_OSE" cp "$srcdir/LocalConfig.kmk" . @@ -100,7 +101,3 @@ package_virtualbox-modules(){ sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-modules.install" } - -md5sums=('dc6e6801b3823332b6ca2e9915221aae' - 'b566518ba3ba3a513b91a75283cdedf8' - '13ff08388a54fd48cc04523380f26af6') |