summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-08 04:51:24 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-08 04:51:24 -0200
commit95def50238d1fa35819d2f67079ce97dc96cd12f (patch)
treeca7d966d2348f174f84a2370f4c66e818b4c933a /libre/virtualbox-libre-modules-lts/PKGBUILD
parent53ae25ee5242912f13151330dcd5c73ba9e0dfba (diff)
downloadabslibre-95def50238d1fa35819d2f67079ce97dc96cd12f.tar.gz
abslibre-95def50238d1fa35819d2f67079ce97dc96cd12f.tar.bz2
abslibre-95def50238d1fa35819d2f67079ce97dc96cd12f.zip
remove deprecated packages
Diffstat (limited to 'libre/virtualbox-libre-modules-lts/PKGBUILD')
-rw-r--r--libre/virtualbox-libre-modules-lts/PKGBUILD74
1 files changed, 0 insertions, 74 deletions
diff --git a/libre/virtualbox-libre-modules-lts/PKGBUILD b/libre/virtualbox-libre-modules-lts/PKGBUILD
deleted file mode 100644
index 6a5f9eff8..000000000
--- a/libre/virtualbox-libre-modules-lts/PKGBUILD
+++ /dev/null
@@ -1,74 +0,0 @@
-# $Id: PKGBUILD 93525 2013-07-05 00:46:26Z seblu $
-# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-# Contributor: Ionut Biru <ibiru@archlinux.org>
-# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-# 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.16
-pkgrel=1.1
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL')
-makedepends=('linux-libre-lts'
- 'linux-libre-lts-headers'
- "virtualbox-libre-host-dkms>=$pkgver"
- "virtualbox-libre-guest-dkms>=$pkgver"
- 'expac'
- 'sed'
- 'bc')
-
-build() {
- _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/')
- _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/version)
- # dkms need modification to be run as user
- cp -r /var/lib/dkms .
- echo "dkms_tree='$srcdir/dkms'" > dkms.conf
- # build host modules
- msg2 'Host modules'
- dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
- # build guest modules
- msg2 'Guest modules'
- dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
-}
-
-package_virtualbox-libre-host-modules-lts(){
- _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/')
- _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/version)
- pkgdesc='Host kernel modules for VirtualBox (built for the linux-libre-lts kernel package)'
-# depends=("linux-libre-lts>=${_kernver%.*}" "linux-libre-lts<$(echo "${_kernver%.*}+0.1"|bc)")
- depends=('linux-libre-lts>=3.0' 'linux-libre-lts<3.1')
- replaces=('virtualbox-host-modules-lts' 'virtualbox-modules-lts' 'virtualbox-libre-modules-lts')
- conflicts=('virtualbox-host-modules-lts' 'virtualbox-modules-lts' 'virtualbox-libre-modules-lts')
- provides=("virtualbox-host-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver")
- install=virtualbox-libre-host-modules-lts.install
-
- cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
- install -dm755 "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/"
- install -m644 * "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/VERSION='.*'/VERSION='$_kernver'/" "$startdir/virtualbox-libre-host-modules-lts.install"
-}
-
-package_virtualbox-libre-guest-modules-lts(){
- _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/')
- _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/version)
- pkgdesc='Guest kernel modules for VirtualBox (built for the linux-libre-lts kernel package)'
- license=('GPL')
-# depends=("linux-libre-lts>=${_kernver%.*}" "linux-libre-lts<$(echo "${_kernver%.*}+0.1"|bc)")
- depends=('linux-libre-lts>=3.0' 'linux-libre-lts<3.1')
- replaces=('virtualbox-guest-modules-lts' 'virtualbox-archlinux-modules-lts' 'virtualbox-libre-parabola-modules-lts')
- conflicts=('virtualbox-guest-modules-lts' 'virtualbox-archlinux-modules-lts' 'virtualbox-libre-parabola-modules-lts')
- provides=("virtualbox-guest-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver")
- install=virtualbox-libre-guest-modules-lts.install
-
- cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
- install -dm755 "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/"
- install -m644 * "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/VERSION='.*'/VERSION='$_kernver'/" "$startdir/virtualbox-libre-guest-modules-lts.install"
-}
-
-# vim:set ts=2 sw=2 et: