diff options
Diffstat (limited to 'desktop/obmenu-generator/obmenu-generator.SlackBuild')
-rw-r--r-- | desktop/obmenu-generator/obmenu-generator.SlackBuild | 23 |
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 |