debianBuild.sh 560 Bytes
Newer Older
1 2
#!/bin/sh

Gerhard Stein's avatar
Gerhard Stein committed
3
VERSION=2.2.3
4
SUBVER=ppa1
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KEY="0x6A1F4CC6"

DST=../cgenius_${VERSION}

echo "Preparing assets for directory..."

# Be careful, not everything can be copied!
mkdir -p ${DST}
cp -r CMake ${DST}
cp -r debian ${DST}
cp -r docs ${DST}
cp -r lib ${DST}
cp -r share ${DST}
cp -r src ${DST}
cp -r tools ${DST}
cp -r vfsroot ${DST}
cp -r share ${DST}
22
cp * ${DST}
23 24 25 26

# Build it the debian way
cd ${DST}

27
# Sources Packages signed for PPA
28 29
debuild -S -k${KEY}

Gerhard Stein's avatar
Gerhard Stein committed
30
cd ..
31

Gerhard Stein's avatar
Gerhard Stein committed
32
#debuild -us -uc
33
dput ppa:gerstrong/cgenius commandergenius_${VERSION}${SUBVER}_source.changes