desktop/9menu: New maintainer.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-06-28 16:22:41 -04:00 committed by Willy Sudiarto Raharjo
parent dba04447f4
commit 090d5624f1
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 27 additions and 22 deletions

View file

@ -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

View file

@ -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"

View file

@ -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.