summaryrefslogtreecommitdiff
path: root/desktop/obmenu-generator/obmenu-generator.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/obmenu-generator/obmenu-generator.SlackBuild')
-rw-r--r--desktop/obmenu-generator/obmenu-generator.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/desktop/obmenu-generator/obmenu-generator.SlackBuild b/desktop/obmenu-generator/obmenu-generator.SlackBuild
index f207822954..b16fe59eab 100644
--- a/desktop/obmenu-generator/obmenu-generator.SlackBuild
+++ b/desktop/obmenu-generator/obmenu-generator.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=obmenu-generator
-VERSION=${VERSION:-0.81}
+VERSION=${VERSION:-0.82}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,14 +72,11 @@ 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
-DOCS="INSTALL.md LICENSE README.md"
+install -Dm755 $PRGNAM $PKG/usr/bin/$PRGNAM
+install -Dm644 schema.pl $PKG/etc/xdg/$PRGNAM/schema.pl
-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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp INSTALL.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install