Date: Saturday, May 11, 2019 @ 16:12:37 Author: heftig Revision: 465424
archrelease: copy trunk to community-staging-x86_64 Added: virtualbox-modules-arch/repos/community-staging-x86_64/PKGBUILD (from rev 465419, virtualbox-modules-arch/trunk/PKGBUILD) Deleted: virtualbox-modules-arch/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-11 16:12:37 UTC (rev 465423) +++ PKGBUILD 2019-05-11 16:12:37 UTC (rev 465424) @@ -1,52 +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.6 -pkgrel=9 -arch=('x86_64') -url='http://virtualbox.org' -license=('GPL') -depends=('linux') -makedepends=('linux-headers' - "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' - 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' - 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 sw=2 et: Copied: virtualbox-modules-arch/repos/community-staging-x86_64/PKGBUILD (from rev 465419, virtualbox-modules-arch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-11 16:12:37 UTC (rev 465424) @@ -0,0 +1,52 @@ +# 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.6 +pkgrel=10 +arch=('x86_64') +url='http://virtualbox.org' +license=('GPL') +depends=('linux') +makedepends=('linux-headers' + "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' + 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' + 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 sw=2 et: