diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-17 19:07:34 +0100 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-19 19:56:23 +0100 |
commit | 0a51a494b5863d35d6269bcb7a3381fe6771c520 (patch) | |
tree | 0f13dfb36f62d964c3eba58e7f40abbc6fac186d | |
parent | c66021dd05c3f63aad3082f8bdd96835474d86da (diff) | |
download | slackbuilds-0a51a494b5863d35d6269bcb7a3381fe6771c520.tar.gz |
games/frozen-bubble: Updated for version 905bf71.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r-- | games/frozen-bubble/frozen-bubble.SlackBuild | 48 | ||||
-rw-r--r-- | games/frozen-bubble/frozen-bubble.info | 8 |
2 files changed, 30 insertions, 26 deletions
diff --git a/games/frozen-bubble/frozen-bubble.SlackBuild b/games/frozen-bubble/frozen-bubble.SlackBuild index 57ec9a1b68..288ae83dc9 100644 --- a/games/frozen-bubble/frozen-bubble.SlackBuild +++ b/games/frozen-bubble/frozen-bubble.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=frozen-bubble -VERSION=2.2.0 -BUILD=${BUILD:-2} +VERSION=905bf71 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,38 +60,42 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS `pkg-config glib-2.0 --cflags`" \ -make INSTALLDIRS=vendor PREFIX=/usr -make install DESTDIR=$PKG PREFIX=/usr +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + optimize="$SLKCFLAGS" \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 mkdir -p $PKG/usr/share/applications $PKG/usr/share/icons/hicolor/16x16 \ $PKG/usr/share/icons/hicolor/32x32 $PKG/usr/share/icons/hicolor/48x48 \ $PKG/usr/share/icons/hicolor/64x64 cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -cp -a icons/$PRGNAM-icon-16x16.png $PKG/usr/share/icons/hicolor/16x16/$PRGNAM.png -cp -a icons/$PRGNAM-icon-32x32.png $PKG/usr/share/icons/hicolor/32x32/$PRGNAM.png -cp -a icons/$PRGNAM-icon-48x48.png $PKG/usr/share/icons/hicolor/48x48/$PRGNAM.png -cp -a icons/$PRGNAM-icon-64x64.png $PKG/usr/share/icons/hicolor/64x64/$PRGNAM.png +cp -a share/icons/$PRGNAM-icon-16x16.png $PKG/usr/share/icons/hicolor/16x16/$PRGNAM.png +cp -a share/icons/$PRGNAM-icon-32x32.png $PKG/usr/share/icons/hicolor/32x32/$PRGNAM.png +cp -a share/icons/$PRGNAM-icon-48x48.png $PKG/usr/share/icons/hicolor/48x48/$PRGNAM.png +cp -a share/icons/$PRGNAM-icon-64x64.png $PKG/usr/share/icons/hicolor/64x64/$PRGNAM.png -mv $PKG/usr/share/man $PKG/usr/man -( cd $PKG/usr/man - find . -type f -exec chmod 644 {} \; - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l); do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; -( cd $PKG - find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f - find . -type d -depth -exec rmdir {} \; 2>/dev/null -) +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README TIPS VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS Changes COPYING HISTORY INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/frozen-bubble/frozen-bubble.info b/games/frozen-bubble/frozen-bubble.info index a3f0bccd8b..750d2efb12 100644 --- a/games/frozen-bubble/frozen-bubble.info +++ b/games/frozen-bubble/frozen-bubble.info @@ -1,10 +1,10 @@ PRGNAM="frozen-bubble" -VERSION="2.2.0" +VERSION="905bf71" HOMEPAGE="http://www.frozen-bubble.org/" -DOWNLOAD="http://www.frozen-bubble.org/data/frozen-bubble-2.2.0.tar.bz2" -MD5SUM="f7987201470d6755ed309762d348e0dd" +DOWNLOAD="http://www.liwjatan.at/files/src/frozen-bubble/frozen-bubble-905bf71.tar.xz" +MD5SUM="62fa4d53aaaa506eb38dd6595c0ed7cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL_Pango SDL_perl" +REQUIRES="perl-Compress-Bzip2 perl-File-Slurp perl-IPC-System-Simple perl-Locale-Maketext-Lexicon perl-SDL" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" |