# Tanım: Hafif panel/görev çubuğu
# URL: http://tint2.googlecode.com
# Paketçi: milisarge
# Gerekler: tint2 python-gtk
# Grup: masaüstü

isim=tint2-extras
surum=0.11
devir=1
kaynak=(http://tint2.googlecode.com/files/tint2-$surum.tar.bz2)

derle() {
  cd tint2-$surum

  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DENABLE_BATTERY=OFF \
    -DENABLE_EXAMPLES=ON \
    -DENABLE_TINT2CONF=ON \
    -DMANDIR=/usr/man \
    -DSYSCONFDIR=/usr/etc

  make
  make DESTDIR=$PKG install

  install -d $PKG/usr/share/tint2
  mv $PKG/usr/share/doc/tint2/examples $PKG/usr/share/tint2
  rm -rf $PKG/usr/{bin/tint2,etc,man,share/doc}
}
