diff options
Diffstat (limited to 'games/gtkballs/gtkballs.SlackBuild')
-rw-r--r-- | games/gtkballs/gtkballs.SlackBuild | 21 |
1 files changed, 7 insertions, 14 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 |