diff options
Diffstat (limited to 'games/xye/xye.SlackBuild')
-rw-r--r-- | games/xye/xye.SlackBuild | 20 |
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 \ |