#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=glista pkgver=0.4 zenver=64 pkgrel=1 arch=i686 source=("http://glista.googlecode.com/files/glista-0.4.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "copying-docs" "copying.lib" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=http://prematureoptimization.org/glista/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "glista is a super-simple personal to-do list manager." "Glista aims to be a very simple personal to-do list manager that does" "what it's supposed to, and does not get in your way." "The main focus of Glista is on staying a very simple tool. We believe" "task tracking is a trivial part of our daily work (or life) and that" "it should stay trivial." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/doc/$pkgname-pkgver --disable-static make || return 1 make install DESTDIR=$startdir/pkg # Put icon in the right place mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ ln -s ../../../../glista/glista-icon.png glista.png # Fix icon in desktop file sed -i -e "s|Icon=/usr/share/glista/glista-icon|Icon=glista|g" $startdir/pkg/usr/share/applications/glista.desktop }