[arch-commits] Commit in virtualbox-modules-lts/trunk (PKGBUILD build.sh)

Sébastien Luttringer seblu at archlinux.org
Sat Nov 22 22:29:16 UTC 2014


    Date: Saturday, November 22, 2014 @ 23:29:16
  Author: seblu
Revision: 122960

upgpkg: virtualbox-modules-lts 4.3.20-1

Modified:
  virtualbox-modules-lts/trunk/PKGBUILD
  virtualbox-modules-lts/trunk/build.sh

----------+
 PKGBUILD |    4 ++--
 build.sh |   12 ++----------
 2 files changed, 4 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-22 21:21:27 UTC (rev 122959)
+++ PKGBUILD	2014-11-22 22:29:16 UTC (rev 122960)
@@ -5,8 +5,8 @@
 
 pkgbase=virtualbox-modules-lts
 pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts')
-pkgver=4.3.18
-pkgrel=5
+pkgver=4.3.20
+pkgrel=1
 arch=('i686' 'x86_64')
 url='http://virtualbox.org'
 license=('GPL')

Modified: build.sh
===================================================================
--- build.sh	2014-11-22 21:21:27 UTC (rev 122959)
+++ build.sh	2014-11-22 22:29:16 UTC (rev 122960)
@@ -28,16 +28,8 @@
 # $1: repo
 # $2: arch
 build() {
-  _files=("$_pwd"/../../virtualbox/trunk/virtualbox-host-dkms-*-$arch.pkg.tar.xz)
-  if (( ${#_files[*]} > 0)); then
-    _pwd=$PWD
-    cd /var/empty
-    makechrootpkg -c -u -I "${_files[@]}" -r "$1"
-    cd "$_pwd"
-    makechrootpkg -n -r "$1"
-  else
-    makechrootpkg -c -u -n -r "$1"
-  fi
+  _files=("$PWD"/../../virtualbox/trunk/virtualbox-*-dkms-*-$arch.pkg.tar.xz)
+  makechrootpkg -c -u "${_files[@]/#/-I}" -r "$1"
 }
 
 (( $# == 1 )) || usage


More information about the arch-commits mailing list