mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/tint2: Updated for version 0.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
3755a39699
commit
0903b293a4
3 changed files with 17 additions and 21 deletions
|
@ -1,12 +1,11 @@
|
|||
tint2 is a simple panel/taskbar intentionally made for openbox3, but should
|
||||
also work with other window managers. It's based off ttm code.
|
||||
also work with other window managers. It's based off ttm code.
|
||||
|
||||
The goal is to keep a clean and unintrusive look with code lightweight and
|
||||
The goal is to keep a clean and unintrusive look with lightweight code and
|
||||
compliance with freedesktop specifications.
|
||||
|
||||
imlib2 is required (it is also available at SlackBuilds.org).
|
||||
This requires imlib2.
|
||||
|
||||
On the first run, /etc/xdg/tint2/tint2rc is copied to ~/.config/tint2/tint2rc.
|
||||
This is used as the configuration. Other samples are included in
|
||||
/usr/doc/tint2-*/sample that may also be used; you can edit
|
||||
~/.config/tint2/tint2rc to your preference.
|
||||
On the first run, /etc/xdg/tint2/tint2rc is copied to ~/.config/tint2/tint2rc
|
||||
and used as the default configuration. Other samples are included in
|
||||
/usr/doc/tint2-*/sample/ ; you can edit ~/.config/tint2/tint2rc as desired.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# You are free to modify or redistribute this in any way you wish.
|
||||
|
||||
PRGNAM=tint2
|
||||
VERSION=${VERSION:-0.9}
|
||||
VERSION=${VERSION:-0.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -32,6 +32,8 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -53,23 +55,18 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make DESTDIR=$PKG install-strip
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/sample
|
||||
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm -rf $PKG/usr/share/doc
|
||||
rm -rf $PKG/usr/share $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
|
||||
cp sample/*tint2rc $PKG/usr/doc/$PRGNAM-$VERSION/sample
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="tint2"
|
||||
VERSION="0.9"
|
||||
VERSION="0.10"
|
||||
HOMEPAGE="http://code.google.com/p/tint2/"
|
||||
DOWNLOAD="http://tint2.googlecode.com/files/tint2-0.9.tar.gz"
|
||||
MD5SUM="411de6ccb8b82089852d8c854b12ddb9"
|
||||
DOWNLOAD="http://tint2.googlecode.com/files/tint2-0.10.tar.gz"
|
||||
MD5SUM="81e44e02cab2c313aa436ff25b2e2499"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Eugene Wissner"
|
||||
EMAIL="belka.ew@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue