diff options
Diffstat (limited to 'games/pysolfc/pysolfc.SlackBuild')
-rw-r--r-- | games/pysolfc/pysolfc.SlackBuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/games/pysolfc/pysolfc.SlackBuild b/games/pysolfc/pysolfc.SlackBuild index 83c3e7981a44..99fcfd65564d 100644 --- a/games/pysolfc/pysolfc.SlackBuild +++ b/games/pysolfc/pysolfc.SlackBuild @@ -24,18 +24,16 @@ PRGNAM=PySolFC PKGNAM=pysolfc -VERSION=${VERSION:-1.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CARDSETS=$PRGNAM-Cardsets-$VERSION -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -60,18 +58,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -## Upstream left a file out of the tarball: -## http://sourceforge.net/forum/forum.php?thread_id=1847958&forum_id=503709 -cp $CWD/pysolfc.glade data - python setup.py install --root $PKG mkdir -p $PKG/usr/man/man6 cat docs/pysol.6 > $PKG/usr/man/man6/pysol.6 ; gzip $PKG/usr/man/man6/pysol.6 -mkdir -p $PKG/usr/share/applications -cat $CWD/$PKGNAM.desktop > $PKG/usr/share/applications/$PKGNAM.desktop - ## Are we installing extra cardsets? if [ -e $CWD/$CARDSETS.tar.bz2 ]; then echo -e "Extracting extra cardsets (this may take some time)..." @@ -86,6 +77,7 @@ cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |