summaryrefslogtreecommitdiffstats
path: root/games/alephone/alephone.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2014-03-28 23:14:45 -0500
committer Erik Hanson <erik@slackbuilds.org>2014-04-12 13:59:47 -0500
commitcf2792497dc15d3fc1014b3388d972644a0acd01 (patch)
tree4e90236bce801618d0a93ad4be2a5f1cce8f1ac0 /games/alephone/alephone.SlackBuild
parent322cfb172d9c04dfc3aa7a1908cb61dbab952443 (diff)
downloadslackbuilds-cf2792497dc15d3fc1014b3388d972644a0acd01.tar.gz
slackbuilds-cf2792497dc15d3fc1014b3388d972644a0acd01.tar.xz
games/alephone: Updated for version 20140104.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/alephone/alephone.SlackBuild')
-rw-r--r--games/alephone/alephone.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/games/alephone/alephone.SlackBuild b/games/alephone/alephone.SlackBuild
index c6dbd0a476..a59807eb1b 100644
--- a/games/alephone/alephone.SlackBuild
+++ b/games/alephone/alephone.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=alephone
-VERSION=${VERSION:-20120514}
+VERSION=${VERSION:-20140104}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch came from ArchLinux AUR, this is the two ffmpeg patches catted
+# together.
+patch -p1 < $CWD/ffmpeg_api.diff
+
+[ "${FFMPEG:-yes}" = "no" ] && EXTRAOPT=--disable-ffmpeg
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
+ $EXTRAOPT \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -75,13 +82,12 @@ gzip -9 $PKG/usr/man/man?/*.?
# Instead, the game-data packages each get a .desktop.
# However, they all use the same icon, so install it here.
-# Icon taken from the windows alephone.exe
mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+cat Source_Files/Misc/$PRGNAM.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog AUTHORS COPYING README THANKS examples docs/*.html \
+# ChangeLog is 0 bytes in 20140104, ignore it
+cp -a AUTHORS COPYING README THANKS examples docs/*.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild