aboutsummaryrefslogtreecommitdiff
path: root/desktop/xdgmenumaker
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-09-14 17:23:44 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-19 19:49:17 +0700
commitcf729dadd71d992079c511e8240b1dd7046e028f (patch)
treec3bc4be2a9331d6569857a77fb1da79c62632b2a /desktop/xdgmenumaker
parent672e2610f9602488c49613db27553ec0eff6628f (diff)
desktop/xdgmenumaker: Updated for version 0.8.
Diffstat (limited to 'desktop/xdgmenumaker')
-rw-r--r--desktop/xdgmenumaker/xdgmenumaker.SlackBuild15
-rw-r--r--desktop/xdgmenumaker/xdgmenumaker.info6
2 files changed, 12 insertions, 9 deletions
diff --git a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
index 24765e4ad4a1..87c86df9a5b4 100644
--- a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
+++ b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
@@ -1,14 +1,17 @@
#!/bin/sh
# Slackware build script for xdgmenumaker
-# Copyright 2013, Andrew Tkalia, Ukraine, Kyiv
-# Written by B. Watson (yalhcru@gmail.com)
+# Originally written by Andrew Tkalia
+# Modified by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20150914 bkw: updated 0.5 => 0.8. upstream now uses a Makefile
+# instead of install.sh so this script can't build the old version.
+
PRGNAM=xdgmenumaker
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,18 +39,18 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# install man pages where Slackware wants them:
-sed -i 's,share/man,man,' install.sh
+sed -i 's,share/man,man,' Makefile
# I had to use the full path to xdgmenumaker to get a windowmaker
# dynamic menu to work, the man page should reflect this:
sed -i '/``xdgmenumaker -f windowmaker``/s,``,``/usr/bin/,' man/$PRGNAM.t2t
-DESTDIR=$PKG ./install.sh
+make -j1 man install DESTDIR=$PKG PREFIX=/usr
gzip $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/xdgmenumaker/xdgmenumaker.info b/desktop/xdgmenumaker/xdgmenumaker.info
index 7114efac732c..929d036772e6 100644
--- a/desktop/xdgmenumaker/xdgmenumaker.info
+++ b/desktop/xdgmenumaker/xdgmenumaker.info
@@ -1,8 +1,8 @@
PRGNAM="xdgmenumaker"
-VERSION="0.5"
+VERSION="0.8"
HOMEPAGE="https://github.com/gapan/xdgmenumaker"
-DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/0.5.tar.gz"
-MD5SUM="d4fad8709022ec9b3c0034871cdea962"
+DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/0.8.tar.gz"
+MD5SUM="bff56a2be42f47d6bddbd5f63991b2f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyxdg txt2tags"