summaryrefslogtreecommitdiff
path: root/desktop/obmenu-generator/obmenu-generator.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-06-04 19:26:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-04 19:26:53 +0700
commitd36b3cd61db1cf49ec25b6e661824b29ab44b00a (patch)
treedb28878a7e130249430365dc0e76cefb697f2054 /desktop/obmenu-generator/obmenu-generator.SlackBuild
parent3235860008f28cfbbb8af9e722c67f83cd039490 (diff)
downloadslackbuilds-d36b3cd61db1cf49ec25b6e661824b29ab44b00a.tar.gz
desktop/obmenu-generator: Updated for version 0.64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/obmenu-generator/obmenu-generator.SlackBuild')
-rw-r--r--desktop/obmenu-generator/obmenu-generator.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/desktop/obmenu-generator/obmenu-generator.SlackBuild b/desktop/obmenu-generator/obmenu-generator.SlackBuild
index 490f313a89..aa2650b3bd 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