mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
desktop/lemonbar: Updated for version 1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
561f5311f3
commit
d5260b40ac
2 changed files with 13 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for lemonbar
|
||||
|
||||
# Copyright 2014-2016 John Vogel Corning, NY USA
|
||||
# Copyright 2017 Panagiotis Nikolaou, Culver City, CA
|
||||
# Copyright 2017-2018 Panagiotis Nikolaou, Culver City, CA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=lemonbar
|
||||
VERSION=${VERSION:-1.2}
|
||||
VERSION=${VERSION:-1.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -60,15 +60,15 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/v$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf bar-$VERSION
|
||||
tar xvf $CWD/bar-$VERSION.tar.gz
|
||||
cd bar-$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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
make
|
||||
|
@ -76,6 +76,9 @@ make doc
|
|||
install -D -m 755 lemonbar $PKG/usr/bin/lemonbar
|
||||
install -D -m 644 lemonbar.1 $PKG/usr/man/man1/lemonbar.1
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="lemonbar"
|
||||
VERSION="1.2"
|
||||
VERSION="1.3"
|
||||
HOMEPAGE="https://github.com/LemonBoy/bar"
|
||||
DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/lemonbar/v1.2.tar.gz"
|
||||
MD5SUM="b45604e6f06b2673ae4b65ea436a960d"
|
||||
DOWNLOAD="https://github.com/LemonBoy/bar/archive/v1.3/bar-1.3.tar.gz"
|
||||
MD5SUM="af652b736193f5c21af33b8980a6d8b2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue