[r59]: / trunk / wharfie / deb.sh  Maximize  Restore  History

Download this file

13 lines (9 with data), 264 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/bash

SRCDIR=$(dirname $(realpath $0))
export PREFIX=/tmp/wharfie
rm -Rf /tmp/wharfie
cp -R ${SRCDIR}/package /tmp/wharfie
${SRCDIR}/install.sh
chmod -R 755 ${PREFIX}
dpkg-deb --build ${PREFIX}
cp $(dirname ${PREFIX})/$(basename ${PREFIX}).deb ${SRCDIR}/