build.sh 561 Bytes
Newer Older
Alexander Larsson's avatar
Alexander Larsson committed
1
2
#!/bin/sh

3
4
5
ROOT=`pwd`/root
VAR=`pwd`/var
APP=`pwd`/packages
Alexander Larsson's avatar
Alexander Larsson committed
6

Alexander Larsson's avatar
Alexander Larsson committed
7
HELPER=`which xdg-app-helper`
Alexander Larsson's avatar
Alexander Larsson committed
8

9
declare -x LC_ALL=en_US.utf8
Alexander Larsson's avatar
Alexander Larsson committed
10
declare -x HOME=/self
11
unset ACLOCAL_FLAGS
Alexander Larsson's avatar
Alexander Larsson committed
12
13
14
15
16
17
18
19
20
declare -x ACLOCAL_PATH="/self/share/aclocal"
declare -x CPLUS_INCLUDE_PATH="/self/include"
declare -x C_INCLUDE_PATH="/self/include"
declare -x GI_TYPELIB_PATH="/self/lib/girepository-1.0"
declare -x LDFLAGS="-L/self/lib "
declare -x PKG_CONFIG_PATH="/self/lib/pkgconfig:/self/share/pkgconfig"
declare -x PATH="/usr/bin:/self/bin"
unset INSTALL

21
$HELPER -f -w -W -E -a $APP -v $VAR $ROOT/usr "$@"