~lubuntu-software-center-team/lubuntu-software-center/vala-port

2 by Stephen Smally
Worked a lot!
1
echo "To compile the following packages are needed:"
2
echo -e "\t * valac"
3
echo -e "\t * libglib2.0-dev"
4
5
VALAC_PKGS="--pkg gio-2.0 --pkg packagekit-glib2 --pkg gtk+-3.0"
3 by Stephen Smally
Implemented dynamic category view
6
VALAC_FLAGS="--vapidir=vapi/ --define=I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE"
2 by Stephen Smally
Worked a lot!
7
BIN="light-software-center"
3 by Stephen Smally
Implemented dynamic category view
8
FILES=$(find src/ -type f -name "*.vala")
2 by Stephen Smally
Worked a lot!
9
10
echo "Building $BIN"
11
valac $VALAC_PKGS $VALAC_FLAGS $FILES -o $BIN &&
12
echo "Build compiled, lanching..." &&
13
./$BIN