diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-29 04:38:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:20 +0700 |
commit | 3a04650276c3d393d13d8b6c7e2e6b310c0a97c4 (patch) | |
tree | 6650835d7512de3654286cea51def5b3e8d859a9 /graphics/meh/meh.SlackBuild | |
parent | 090d5624f18fea61d2bb9634f606e0ee74e2748f (diff) | |
download | slackbuilds-3a04650276c3d393d13d8b6c7e2e6b310c0a97c4.tar.gz |
graphics/meh: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/meh/meh.SlackBuild')
-rw-r--r-- | graphics/meh/meh.SlackBuild | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild index 6e5dacb44d..1527504e92 100644 --- a/graphics/meh/meh.SlackBuild +++ b/graphics/meh/meh.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for meh -# 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,16 @@ # (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. +# - Add man page, BUILD=2 +# - Script simplifications. + PRGNAM=meh VERSION=${VERSION:-0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,18 +70,21 @@ cd $PRGNAM-$VERSION 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Fixes for giflib-5.1 from https://github.com/jhawthorn/meh patch -p1 < $CWD/meh-giflib.patch CFLAGS="$SLKCFLAGS" make -install -D -m 755 meh $PKG/usr/bin/meh +install -D -s -o root -g root -m 755 $PRGNAM $PKG/usr/bin/$PRGNAM -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 +# 20180628 bkw: Man page originally came from upstream's git, and I +# added the key bindings section (and sent a patch upstream, hopefully +# he likes it). +mkdir -p $PKG/usr/man/man1 +gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS BUGS COPYING NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION |