contrib/tint2-extras/Pkgfile

30 lines
699 B
Plaintext
Raw Normal View History

2010-06-23 10:14:32 +02:00
# Description: Lightweight panel/taskbar
# URL: http://tint2.googlecode.com
# Packager: Jose V Beneyto, sepen at crux dot nu
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Depends on: tint2 pygtk
name=tint2-extras
2010-07-19 10:56:54 +02:00
version=0.11
2010-06-23 10:14:32 +02:00
release=1
2010-07-19 10:56:54 +02:00
source=(http://tint2.googlecode.com/files/tint2-$version.tar.bz2)
2010-06-23 10:14:32 +02:00
build() {
cd tint2-$version
2010-07-19 10:56:54 +02:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_BATTERY=OFF \
-DENABLE_EXAMPLES=ON \
-DENABLE_TINT2CONF=ON \
-DMANDIR=/usr/man \
-DSYSCONFDIR=/usr/etc
2010-06-23 10:14:32 +02:00
2010-07-19 10:56:54 +02:00
make
make DESTDIR=$PKG install
2010-06-23 10:14:32 +02:00
2010-07-19 10:56:54 +02:00
install -d $PKG/usr/share/tint2
mv $PKG/usr/share/doc/tint2/examples $PKG/usr/share/tint2
2010-06-23 10:14:32 +02:00
rm -rf $PKG/usr/{bin/tint2,etc,man,share/doc}
}