diff options
Diffstat (limited to 'games/Pyfa')
-rw-r--r-- | games/Pyfa/Pyfa.SlackBuild | 16 | ||||
-rw-r--r-- | games/Pyfa/Pyfa.info | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/games/Pyfa/Pyfa.SlackBuild b/games/Pyfa/Pyfa.SlackBuild index 610b02f3d1..89079d8db8 100644 --- a/games/Pyfa/Pyfa.SlackBuild +++ b/games/Pyfa/Pyfa.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Pyfa @@ -22,16 +22,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Pyfa VERSION=${VERSION:-1.31.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=pyfa ARCH=noarch -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -67,4 +77,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/Pyfa/Pyfa.info b/games/Pyfa/Pyfa.info index ba83a07350..ffae8a5935 100644 --- a/games/Pyfa/Pyfa.info +++ b/games/Pyfa/Pyfa.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/pyfa-org/Pyfa/releases/download/v1.31.0/pyfa-1.31.0 MD5SUM="ab53f8765c4220114ac69a8195fbcad4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxPython SQLAlchemy python-dateutil" +REQUIRES="wxPython SQLAlchemy python2-dateutil" MAINTAINER="Zach Lewis" EMAIL="koni@archlinux.us" |