milis/talimatname/genel/tint2/talimat

30 lines
664 B
Plaintext
Raw Normal View History

2016-03-02 01:26:35 +01:00
# Description: Lightweight panel/taskbar
# URL: http://tint2.googlecode.com
# Packager: Vitaly Sinilin, vs at kp4 dot ru
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Depends on: cmake imlib2 pango
2016-02-24 01:27:23 +01:00
name=tint2
2016-03-02 01:26:35 +01:00
version=0.11
release=2
source=(http://$name.googlecode.com/files/$name-$version.tar.bz2 \
add-power-now-support.patch)
2016-02-24 01:27:23 +01:00
build() {
2016-03-02 01:26:35 +01:00
cd $name-$version
patch -p0 -i $SRC/add-power-now-support.patch
2016-02-24 01:27:23 +01:00
2016-03-02 01:26:35 +01:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_BATTERY=ON \
-DENABLE_EXAMPLES=OFF \
-DENABLE_TINT2CONF=OFF \
-DMANDIR=/usr/man \
-DSYSCONFDIR=/usr/etc
2016-02-24 01:27:23 +01:00
2016-03-02 01:26:35 +01:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
2016-02-24 01:27:23 +01:00
}