diff options
Diffstat (limited to 'libre/virtualbox-libre-modules-lts')
-rw-r--r-- | libre/virtualbox-libre-modules-lts/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/libre/virtualbox-libre-modules-lts/PKGBUILD b/libre/virtualbox-libre-modules-lts/PKGBUILD index 175c9c49f..669e0e668 100644 --- a/libre/virtualbox-libre-modules-lts/PKGBUILD +++ b/libre/virtualbox-libre-modules-lts/PKGBUILD @@ -1,21 +1,23 @@ -# $Id$ +# $Id: PKGBUILD 93050 2013-06-23 10:32:13Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Sébastien Luttringer <seblu@aur.archlinux.org> -# Maintainer (Parabola): Jorge López <jorginho@lavabit.com> # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> +# Contributor (Parabola): Jorge López <jorginho@lavabit.com> pkgbase=virtualbox-libre-modules-lts pkgname=('virtualbox-libre-host-modules-lts' 'virtualbox-libre-guest-modules-lts') -pkgver=4.2.12 -pkgrel=3 +pkgver=4.2.14 +pkgrel=1 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -makedepends=('linux-libre-lts-headers' +makedepends=('linux-libre-lts' + 'linux-libre-lts-headers' "virtualbox-libre-host-dkms>=$pkgver" "virtualbox-libre-guest-dkms>=$pkgver" 'expac' + 'sed' 'bc') build() { @@ -44,11 +46,11 @@ package_virtualbox-libre-host-modules-lts(){ provides=("virtualbox-host-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver") install=virtualbox-libre-host-modules-lts.install - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" + install -dm755 "$pkgdir/usr/lib/modules/$_extraver" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" find "$pkgdir" -name '*.ko' -exec gzip -9 {} + - sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-libre-host-modules-lts.install" + sed -ie "s/VERSION='.*'/VERSION='$_extraver'/" "$startdir/virtualbox-libre-host-modules-lts.install" } package_virtualbox-libre-guest-modules-lts(){ @@ -64,11 +66,11 @@ package_virtualbox-libre-guest-modules-lts(){ provides=("virtualbox-guest-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver") install=virtualbox-libre-guest-modules-lts.install - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" + install -dm755 "$pkgdir/usr/lib/modules/$_extraver" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" find "$pkgdir" -name '*.ko' -exec gzip -9 {} + - sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-libre-guest-modules-lts.install" + sed -ie "s/VERSION='.*'/VERSION='$_extraver'/" "$startdir/virtualbox-libre-guest-modules-lts.install" } # vim:set ts=2 sw=2 et: |