diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-04-20 16:17:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-04-20 16:17:03 +0700 |
commit | 3b47c3ae159bc4dfd5c93ae02f7043df6c71f4f5 (patch) | |
tree | e0ff9e0f62c02d2b6294cc6d0e1a751e36686712 /games/KoboDeluxe | |
parent | 181da4770c097bb4dd518565bf1e242792539d95 (diff) |
games/KoboDeluxe: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/KoboDeluxe')
-rw-r--r-- | games/KoboDeluxe/KoboDeluxe.SlackBuild | 17 | ||||
-rw-r--r-- | games/KoboDeluxe/KoboDeluxe.info | 4 |
2 files changed, 9 insertions, 12 deletions
diff --git a/games/KoboDeluxe/KoboDeluxe.SlackBuild b/games/KoboDeluxe/KoboDeluxe.SlackBuild index 78a26eae3b04..f8ccd16a2229 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 <black_rider@esdebian.org> +# Written by Rubén Llorente <porting@use.startmail.com> # 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 f40a701579f1..d91d1f1063ae 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" |