summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/build.sh
blob: 87aefbff0a849f91931dbd0ce2a7f388e4c682cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

if (( $# != 1 )); then
  echo "usage: $0 extra"
  echo "       $0 testing"
  exit 1
fi

$1-i686-build
linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-host-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-guest-source-*-i686.pkg.tar.xz  -r /var/lib/archbuild/$1-i686
linux32 makechrootpkg -r /var/lib/archbuild/$1-i686

$1-x86_64-build
makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
makechrootpkg -I ../../virtualbox/trunk/virtualbox-libre-guest-source-*-x86_64.pkg.tar.xz  -r /var/lib/archbuild/$1-x86_64
makechrootpkg -r /var/lib/archbuild/$1-x86_64


# vim:set ts=2 sw=2 ft=sh et: