mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/frozen-bubble: Updated for version 905bf71.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
c66021dd05
commit
0a51a494b5
2 changed files with 30 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue