aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/obmenu-generator/obmenu-generator.SlackBuild23
-rw-r--r--desktop/obmenu-generator/obmenu-generator.info6
2 files changed, 14 insertions, 15 deletions
diff --git a/desktop/obmenu-generator/obmenu-generator.SlackBuild b/desktop/obmenu-generator/obmenu-generator.SlackBuild
index 490f313a89157..aa2650b3bd909 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
diff --git a/desktop/obmenu-generator/obmenu-generator.info b/desktop/obmenu-generator/obmenu-generator.info
index 05d9e59177d53..7cb0c0d27e87e 100644
--- a/desktop/obmenu-generator/obmenu-generator.info
+++ b/desktop/obmenu-generator/obmenu-generator.info
@@ -1,8 +1,8 @@
PRGNAM="obmenu-generator"
-VERSION="0.63"
+VERSION="0.64"
HOMEPAGE="https://github.com/trizen/obmenu-generator/"
-DOWNLOAD="https://github.com/trizen/obmenu-generator/archive/0.63.tar.gz"
-MD5SUM="ebe3f3f2f7d64d1ddf50fab39fff3a09"
+DOWNLOAD="https://github.com/trizen/obmenu-generator/archive/0.64.tar.gz"
+MD5SUM="fcf20b917e10e51d8021b387b0236abb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-data-dump perl-linux-desktop-files"