diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-28 16:22:41 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:20 +0700 |
commit | 090d5624f18fea61d2bb9634f606e0ee74e2748f (patch) | |
tree | ee9ca89a5b16eed7b66a11ac02a0df02774ecead /desktop/9menu/9menu.SlackBuild | |
parent | dba04447f4df0e08c713bdbfc96d8165ab5ea55a (diff) | |
download | slackbuilds-090d5624f18fea61d2bb9634f606e0ee74e2748f.tar.gz |
desktop/9menu: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/9menu/9menu.SlackBuild')
-rw-r--r-- | desktop/9menu/9menu.SlackBuild | 39 |
1 files changed, 21 insertions, 18 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 |