Date: Monday, March 4, 2019 @ 17:47:08 Author: heftig Revision: 437548
remove versioned deps (don't work anyway atm because they must be precise) Modified: virtualbox-modules-arch/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-04 17:42:50 UTC (rev 437547) +++ PKGBUILD 2019-03-04 17:47:08 UTC (rev 437548) @@ -5,15 +5,11 @@ pkgname=('virtualbox-host-modules-arch' 'virtualbox-guest-modules-arch') pkgver=6.0.4 pkgrel=10 -_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" +depends=('linux') +makedepends=('linux-headers' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver") @@ -22,10 +18,9 @@ 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') + 'virtualbox-host-dkms') provides=('VIRTUALBOX-HOST-MODULES') cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module" @@ -42,8 +37,6 @@ 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') @@ -56,4 +49,4 @@ find "$pkgdir" -name '*.ko' -exec xz -T1 {} + } -# vim:set ts=2 sw=2 et: +# vim:set sw=2 et: