aboutsummaryrefslogtreecommitdiff
path: root/games/gtkballs
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-03-01 07:06:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-01 07:06:18 +0700
commitcfd7957bbad5cd228f3c834de83c52d05dce43a3 (patch)
treec0e5c85841b7ab7dc513af42d64db0068d7385b4 /games/gtkballs
parent865817ae8b3f2e84a44d21e5ee856eb6b0a4719c (diff)
games/gtkballs: Script Cleanup + New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gtkballs')
-rw-r--r--games/gtkballs/gtkballs.SlackBuild21
-rw-r--r--games/gtkballs/gtkballs.info4
2 files changed, 9 insertions, 16 deletions
diff --git a/games/gtkballs/gtkballs.SlackBuild b/games/gtkballs/gtkballs.SlackBuild
index 044778d41fd3e..603cae07bb119 100644
--- a/games/gtkballs/gtkballs.SlackBuild
+++ b/games/gtkballs/gtkballs.SlackBuild
@@ -20,9 +20,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20140228 bkw: took over maintenance, simplified a bit
+
PRGNAM=gtkballs
VERSION=${VERSION:-3.1.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,32 +79,23 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
chown -R root:games $PKG/var/games/$PRGNAM
chmod -R ug+w $PKG/var/games/$PRGNAM
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+gzip $PKG/usr/man/man?/$PRGNAM.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
+cp -a AUTHORS COPYING ChangeLog NEWS README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# Link icon to /usr/share/pixmaps
mkdir -p $PKG/usr/share/pixmaps
-( cd $PKG/usr/share/pixmaps
- ln -sf /usr/share/gtkballs/gtkballs_16x16.png gtkballs.png
-)
+ln -s ../$PRGNAM/${PRGNAM}_16x16.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/games/gtkballs/gtkballs.info b/games/gtkballs/gtkballs.info
index 7f0bb3eeefedf..b0e20655dde16 100644
--- a/games/gtkballs/gtkballs.info
+++ b/games/gtkballs/gtkballs.info
@@ -6,5 +6,5 @@ MD5SUM="1654799db1e9a46607b06f7ad3c0bf05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="nobody"
-EMAIL="nobody"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"