Date: Tuesday, January 15, 2019 @ 21:28:56 Author: eworm Revision: 423376
archrelease: copy trunk to community-x86_64 Added: virtualbox-modules-arch/repos/community-x86_64/PKGBUILD (from rev 423375, virtualbox-modules-arch/trunk/PKGBUILD) Deleted: virtualbox-modules-arch/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 118 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-15 21:28:52 UTC (rev 423375) +++ PKGBUILD 2019-01-15 21:28:56 UTC (rev 423376) @@ -1,59 +0,0 @@ -# Maintainer: Sébastien Luttringer -# Contributor: Ionut Biru <ib...@archlinux.org> - -pkgbase=virtualbox-modules-arch -pkgname=('virtualbox-host-modules-arch' 'virtualbox-guest-modules-arch') -pkgver=6.0.0 -pkgrel=4 -_linux_major=4 -_linux_minor=20 -arch=('x86_64') -url='http://virtualbox.org' -license=('GPL') -_linux_cur=${_linux_major}.${_linux_minor} -_linux_next=${_linux_major}.$((_linux_minor + 1)) -makedepends=("linux>=$_linux_cur" "linux<$_linux_next" - "linux-headers>=$_linux_cur" "linux-headers<$_linux_next" - "virtualbox-host-dkms>=$pkgver" - "virtualbox-guest-dkms>=$pkgver") - -_extramodules=extramodules-ARCH - -package_virtualbox-host-modules-arch(){ - _kernver="$(cat /usr/lib/modules/$_extramodules/version)" - pkgdesc='Virtualbox host kernel modules for Arch Kernel' - depends=("linux>=$_linux_cur" "linux<$_linux_next") - replaces=('virtualbox-modules' 'virtualbox-host-modules') - conflicts=('virtualbox-modules' 'virtualbox-host-modules' - 'virtualbox-host-dkms') - provides=('VIRTUALBOX-HOST-MODULES') - - cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module" - install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 * - - # compress each module individually - find "$pkgdir" -name '*.ko' -exec xz -T1 {} + - - # systemd module loading - printf '%s\n' vboxdrv vboxpci vboxnetadp vboxnetflt | - install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" -} - -package_virtualbox-guest-modules-arch(){ - _kernver="$(cat /usr/lib/modules/$_extramodules/version)" - pkgdesc='Virtualbox guest kernel modules for Arch Kernel' - license=('GPL') - depends=("linux>=$_linux_cur" "linux<$_linux_next") - replaces=('virtualbox-archlinux-modules' 'virtualbox-guest-modules') - conflicts=('virtualbox-archlinux-modules' 'virtualbox-guest-modules' - 'virtualbox-guest-dkms') - provides=('VIRTUALBOX-GUEST-MODULES') - - cd "/var/lib/dkms/vboxsf/${pkgver}_OSE/$_kernver/$CARCH/module" - install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 * - - # compress each module individually - find "$pkgdir" -name '*.ko' -exec xz -T1 {} + -} - -# vim:set ts=2 sw=2 et: Copied: virtualbox-modules-arch/repos/community-x86_64/PKGBUILD (from rev 423375, virtualbox-modules-arch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-15 21:28:56 UTC (rev 423376) @@ -0,0 +1,59 @@ +# Maintainer: Sébastien Luttringer +# Contributor: Ionut Biru <ib...@archlinux.org> + +pkgbase=virtualbox-modules-arch +pkgname=('virtualbox-host-modules-arch' 'virtualbox-guest-modules-arch') +pkgver=6.0.2 +pkgrel=1 +_linux_major=4 +_linux_minor=20 +arch=('x86_64') +url='http://virtualbox.org' +license=('GPL') +_linux_cur=${_linux_major}.${_linux_minor} +_linux_next=${_linux_major}.$((_linux_minor + 1)) +makedepends=("linux>=$_linux_cur" "linux<$_linux_next" + "linux-headers>=$_linux_cur" "linux-headers<$_linux_next" + "virtualbox-host-dkms>=$pkgver" + "virtualbox-guest-dkms>=$pkgver") + +_extramodules=extramodules-ARCH + +package_virtualbox-host-modules-arch(){ + _kernver="$(cat /usr/lib/modules/$_extramodules/version)" + pkgdesc='Virtualbox host kernel modules for Arch Kernel' + depends=("linux>=$_linux_cur" "linux<$_linux_next") + replaces=('virtualbox-modules' 'virtualbox-host-modules') + conflicts=('virtualbox-modules' 'virtualbox-host-modules' + 'virtualbox-host-dkms') + provides=('VIRTUALBOX-HOST-MODULES') + + cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module" + install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 * + + # compress each module individually + find "$pkgdir" -name '*.ko' -exec xz -T1 {} + + + # systemd module loading + printf '%s\n' vboxdrv vboxpci vboxnetadp vboxnetflt | + install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" +} + +package_virtualbox-guest-modules-arch(){ + _kernver="$(cat /usr/lib/modules/$_extramodules/version)" + pkgdesc='Virtualbox guest kernel modules for Arch Kernel' + license=('GPL') + depends=("linux>=$_linux_cur" "linux<$_linux_next") + replaces=('virtualbox-archlinux-modules' 'virtualbox-guest-modules') + conflicts=('virtualbox-archlinux-modules' 'virtualbox-guest-modules' + 'virtualbox-guest-dkms') + provides=('VIRTUALBOX-GUEST-MODULES') + + cd "/var/lib/dkms/vboxsf/${pkgver}_OSE/$_kernver/$CARCH/module" + install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 * + + # compress each module individually + find "$pkgdir" -name '*.ko' -exec xz -T1 {} + +} + +# vim:set ts=2 sw=2 et: