From d36b3cd61db1cf49ec25b6e661824b29ab44b00a Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Thu, 4 Jun 2015 19:26:53 +0700 Subject: desktop/obmenu-generator: Updated for version 0.64. Signed-off-by: Willy Sudiarto Raharjo --- .../obmenu-generator/obmenu-generator.SlackBuild | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'desktop/obmenu-generator/obmenu-generator.SlackBuild') diff --git a/desktop/obmenu-generator/obmenu-generator.SlackBuild b/desktop/obmenu-generator/obmenu-generator.SlackBuild index 490f313a8915..aa2650b3bd90 100644 --- a/desktop/obmenu-generator/obmenu-generator.SlackBuild +++ b/desktop/obmenu-generator/obmenu-generator.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh +# # Slackware build script for obmenu-generator. -# Home page: https://github.com/trizen/obmenu-generator. - +# # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=obmenu-generator -VERSION=${VERSION:-0.63} +VERSION=${VERSION:-0.64} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,8 +54,6 @@ else LIBDIRSUFFIX="" fi -DOCS="LICENSE README.md" - set -e rm -rf $PKG @@ -74,13 +72,14 @@ find -L . \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/bin -chmod a+x obmenu-generator -cp obmenu-generator $PKG/usr/bin -mkdir -p $PKG/etc/xdg/$PRGNAM -cp schema.pl $PKG/etc/xdg/$PRGNAM -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +DOCS="LICENSE README.md" + +install -d $PKG/etc/xdg/$PRGNAM +install -D -m644 schema.pl $PKG/etc/xdg/$PRGNAM +install -d $PKG/usr/bin +install -D -m755 obmenu-generator $PKG/usr/bin/obmenu-generator +install -d $PKG/usr/doc/$PRGNAM-$VERSION +install -D -m644 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3