summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 044778d41f..603cae07bb 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 7f0bb3eeef..b0e20655dd 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"