#Maintainer: Maximus (maximus[at]gmail[dot]com) pkgname=tint2 pkgver=0.11 pkgrel=1mb source=(http://tint2.googlecode.com/files/tint2-0.11.tar.bz2) sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver docs=("readme" "readme.source" "copying" "changelog" "authors" "install.txt") url=http://code.google.com/p/tint2 slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "tint2 - an ultralightweight panel for openbox" "Tint2 (formerly ttm) is a simple panel/taskbar intentionally made" "for openbox3, but should also work with other window managers. The" "goal is to keep a clean and unintrusive look with code lightweight" "and compliance with freedesktop specifications. Features include:" "*panel with taskbar, systray and clock *color/transparency on font," "icon, border and background *pager like capability : send task from" "one workspace to another, switch workspace *multi-monitor capability" "*customize mouse event *window manager's menu" ) build() { cd $startdir/src/$pkgname-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr ./ make || exit 1 make install DESTDIR=$startdir/pkg #adjust some incorrect directories mkdir -p $startdir/pkg/usr/share/icons/hicolor/{48x48/apps,scalable/apps} cp $startdir/pkg/usr/share/pixmaps/tint2conf.svg $startdir/pkg/usr/share/icons/hicolor/scalable/apps/ cp $startdir/pkg/usr/share/pixmaps/tint2conf.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ rm -rf $startdir/pkg/usr/share/{doc,pixmaps} #copy sample configurations mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp -R ./sample $startdir/pkg/usr/doc/$pkgname-$pkgver/ }