summaryrefslogtreecommitdiff
path: root/games/xye/xye.SlackBuild
diff options
context:
space:
mode:
authorBill Kirkpatrick <bkirkp@gmail.com>2014-01-11 12:34:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:20:59 -0600
commitd57f5cb1d467684d2c0fb88c8fc1ce69a2bb325c (patch)
treee8a4b3359413a9e7ed40a465671cfcbe2b74ee8d /games/xye/xye.SlackBuild
parentfd73b2e190c97a827f74a61d3fd54fd040894e60 (diff)
downloadslackbuilds-d57f5cb1d467684d2c0fb88c8fc1ce69a2bb325c.tar.gz
games/xye: Updated for version 0.12.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xye/xye.SlackBuild')
-rw-r--r--games/xye/xye.SlackBuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/games/xye/xye.SlackBuild b/games/xye/xye.SlackBuild
index cd44fb04b4..8487aecd40 100644
--- a/games/xye/xye.SlackBuild
+++ b/games/xye/xye.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xye
-VERSION=${VERSION:-0.12.1}
+VERSION=${VERSION:-0.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,19 +66,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# add gcc-4.7 patch
-patch -p1 -i $CWD/gcc-4.7.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --bindir=/usr/games \
+ --bindir=/usr/bin \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
@@ -92,10 +89,11 @@ install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desk
install -m 0644 res/default_icon.png $PKG/usr/share/$PRGNAM/res
for i in 16 32 48 64 96 128; do
- convert $PRGNAM.svg -resize ${i}x${i}! $PRGNAM-${i}.png
+ convert pixmaps/$PRGNAM.svg -resize ${i}x${i}! $PRGNAM-${i}.png
install -D -m 0644 $PRGNAM-${i}.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
-install -D -m 0644 $PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+install -D -m 0644 pixmaps/$PRGNAM.svg \
+$PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \