summaryrefslogtreecommitdiffstats
path: root/desktop/9menu
diff options
context:
space:
mode:
author B. Watson2018-06-28 22:22:41 +0200
committer Willy Sudiarto Raharjo2018-07-07 01:54:20 +0200
commit090d5624f18fea61d2bb9634f606e0ee74e2748f (patch)
treeee9ca89a5b16eed7b66a11ac02a0df02774ecead /desktop/9menu
parentdba04447f4df0e08c713bdbfc96d8165ab5ea55a (diff)
downloadslackbuilds-090d5624f18fea61d2bb9634f606e0ee74e2748f.tar.gz
desktop/9menu: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/9menu')
-rw-r--r--desktop/9menu/9menu.SlackBuild39
-rw-r--r--desktop/9menu/9menu.info8
-rw-r--r--desktop/9menu/README2
3 files changed, 27 insertions, 22 deletions
diff --git a/desktop/9menu/9menu.SlackBuild b/desktop/9menu/9menu.SlackBuild
index f3299b6eaf..8eb46ce8b5 100644
--- a/desktop/9menu/9menu.SlackBuild
+++ b/desktop/9menu/9menu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for 9menu
-# Copyright 2014 Leonard Schmidt <lems@gmx.net>
+# Copyright 2014 Leonard Schmidt <email removed>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,9 +20,18 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson <yalhcru@gmail.com>.
+
+# 20180628 bkw:
+# - Take over maintenance.
+# - Use github .tar.gz release. NO WAY am I leaving this:
+# zcat $CWD/$PRGNAM-$VERSION.shar.gz | sh
+# ...in a scipt to be run by root!
+# - Include ChangeLog in doc dir, bump BUILD to 2.
+
PRGNAM=9menu
VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,33 +63,27 @@ fi
set -e
+# Perfidious misuse of tags, I say! Harrumph!
+TARNAM=$PRGNAM-$PRGNAM-release-$VERSION
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-zcat $CWD/$PRGNAM-$VERSION.shar.gz | sh
+rm -rf $TARNAM
+tar xvf $CWD/$TARNAM.tar.gz
+cd $TARNAM
ln -s 9menu.1 9menu.man
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+chmod 644 *
xmkmf -a
make CDEBUGFLAGS="$SLKCFLAGS"
+strip $PRGNAM
make install install.man DESTDIR=$PKG
-
-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
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man?/*.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* ChangeLog* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/9menu/9menu.info b/desktop/9menu/9menu.info
index b1ea3180a4..5880a6bc3f 100644
--- a/desktop/9menu/9menu.info
+++ b/desktop/9menu/9menu.info
@@ -1,10 +1,10 @@
PRGNAM="9menu"
VERSION="1.9"
HOMEPAGE="https://github.com/arnoldrobbins/9menu"
-DOWNLOAD="ftp://freefriends.org/arnold/Source/9menu-1.9.shar.gz"
-MD5SUM="39b18a247c8b1b72332aa136fc4ec17c"
+DOWNLOAD="https://github.com/arnoldrobbins/9menu/archive/9menu-release-1.9/9menu-9menu-release-1.9.tar.gz"
+MD5SUM="9cc267a7b83a85ce1b35518e26e8d721"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leonard Schmidt"
-EMAIL="lems@gmx.net"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/desktop/9menu/README b/desktop/9menu/README
index 6b5b2c883d..9fe9857a1c 100644
--- a/desktop/9menu/README
+++ b/desktop/9menu/README
@@ -1,3 +1,5 @@
+9menu (create X menus)
+
This is 9menu, a simple program that allows you to create X menus from the
shell, where each menu item will run a command. 9menu is intended for use
with 9wm, but can be used with any other window manager.