summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-03 17:00:49 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-03 17:00:49 -0200
commitab8deffc6f4cadc2e90e841ceb0aa48493693425 (patch)
tree8a1a50b613984560d7668cc6181c9188b0b5b4bd
parent8722872140300e516a4cb2d6d904db00a79e5b90 (diff)
downloadabslibre-ab8deffc6f4cadc2e90e841ceb0aa48493693425.tar.gz
abslibre-ab8deffc6f4cadc2e90e841ceb0aa48493693425.tar.bz2
abslibre-ab8deffc6f4cadc2e90e841ceb0aa48493693425.zip
virtualbox-libre-modules-4.2.8-1: updating version
-rw-r--r--libre/virtualbox-libre-modules/PKGBUILD4
-rwxr-xr-xlibre/virtualbox-libre-modules/build.sh19
2 files changed, 15 insertions, 8 deletions
diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD
index 7152ca13c..18f4c4431 100644
--- a/libre/virtualbox-libre-modules/PKGBUILD
+++ b/libre/virtualbox-libre-modules/PKGBUILD
@@ -6,9 +6,9 @@
pkgbase=virtualbox-libre-modules
pkgname=('virtualbox-libre-host-modules' 'virtualbox-libre-guest-modules')
-pkgver=4.2.6
+pkgver=4.2.8
_extramodules=extramodules-3.8-LIBRE
-pkgrel=7.1
+pkgrel=1
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
diff --git a/libre/virtualbox-libre-modules/build.sh b/libre/virtualbox-libre-modules/build.sh
index 6152ec21d..895bea0b1 100755
--- a/libre/virtualbox-libre-modules/build.sh
+++ b/libre/virtualbox-libre-modules/build.sh
@@ -1,18 +1,25 @@
#!/bin/bash
+set -e
+
if (( $# != 1 )); then
echo "usage: $0 extra"
echo " $0 testing"
exit 1
fi
-linux32 makechrootpkg -cuI ../../virtualbox/trunk/virtualbox-libre-host-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-guest-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -r /var/lib/archbuild/$1-i686
+here=$PWD
+cd /var/empty
+linux32 makechrootpkg -cu -I "$here"/../../virtualbox/trunk/virtualbox-libre-host-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
+linux32 makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-libre-guest-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
+cd "$here"
+linux32 makechrootpkg -n -r /var/lib/archbuild/$1-i686
-makechrootpkg -cuI ../../virtualbox/trunk/virtualbox-libre-host-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-guest-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -r /var/lib/archbuild/$1-x86_64
+cd /var/empty
+makechrootpkg -cu -I "$here"/../../virtualbox/trunk/virtualbox-libre-host-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
+makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-libre-guest-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
+cd "$here"
+makechrootpkg -n -r /var/lib/archbuild/$1-x86_64
# vim:set ts=2 sw=2 ft=sh et: