From 3b47c3ae159bc4dfd5c93ae02f7043df6c71f4f5 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 20 Apr 2016 16:17:03 +0700 Subject: games/KoboDeluxe: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- games/KoboDeluxe/KoboDeluxe.SlackBuild | 17 +++++++---------- games/KoboDeluxe/KoboDeluxe.info | 4 ++-- 2 files changed, 9 insertions(+), 12 deletions(-) (limited to 'games') diff --git a/games/KoboDeluxe/KoboDeluxe.SlackBuild b/games/KoboDeluxe/KoboDeluxe.SlackBuild index 78a26eae3b..f8ccd16a22 100644 --- a/games/KoboDeluxe/KoboDeluxe.SlackBuild +++ b/games/KoboDeluxe/KoboDeluxe.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Kobo Deluxe -# Written by Black Rider +# Written by Rubén Llorente # This script is of public domain. It can be distributed, modified and used as desired. @@ -19,7 +19,7 @@ PRGNAM=KoboDeluxe -VERSION=0.5.1 +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,14 +61,13 @@ cp -t $TMP $CWD/kobodeluxe-0.5.1-glibc2.10.patch $CWD/kobodeluxe-gcc-4.3.patch 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 {} \; + \( -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 {} \; # This patches are incuded to fix compilation bugs. # I want to thank the Arch comunity for making them availible. - patch -p0 <$TMP/kobodeluxe-0.5.1-glibc2.10.patch patch -p0 <$TMP/kobodeluxe-gcc-4.3.patch @@ -96,9 +95,7 @@ cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING README README.xkobo README.jp README.xkobo.jp README.sfont ChangeLog TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README* ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/KoboDeluxe/KoboDeluxe.info b/games/KoboDeluxe/KoboDeluxe.info index f40a701579..d91d1f1063 100644 --- a/games/KoboDeluxe/KoboDeluxe.info +++ b/games/KoboDeluxe/KoboDeluxe.info @@ -6,5 +6,5 @@ MD5SUM="cb5dcdaf07ccad18a921058138dedc4a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Black Rider" -EMAIL="softwareworks@use.startmail.com" +MAINTAINER="Rubén Llorente" +EMAIL="porting@use.startmail.com" -- cgit v1.2.3