#Maintainer: rexroom #Former Maintainer: fushark #perl_Module_Build is needed to build this package. If you don't have it #installed, please netpkg or download it from the repo. pkgname=zim pkgver=0.29 pkgrel=1 zenver=64 arch=i486 source=(http://www.zim-wiki.org/downloads/Zim-$pkgver.tar.gz) sourcetemplate=http://cthulhu.daug.net/zenwalk/$pkgname/ docs=("packaging" "translators" "readme" "changes") url=http://www.zim-wiki.org extradepends=(perl-gtk2 perl_File-DesktopEntry xcb xorg-libs) doinst() { if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1 fi ( cd usr/share/pixmaps ; rm -rf zim.png ) ( cd usr/share/pixmaps ; ln -sf ../icons/hicolor/64x64/apps/zim.png zim.png ) } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (a desktop wiki)" "$pkgname is a WYSIWYG text editor written in Gtk2-Perl which aims to" "bring the concept of a wiki to your desktop. Every page is saved as" "a text file with wiki markup. Pages can contain links to other pages," "and are saved automatically. Creating a new page is as easy as linking" "to a non-existing page. Pages are ordered in a hierarchical structure" "that gives it the look and feel of an outliner. This tool is intended" "to keep track of TODO lists or to serve as a personal scratch book." "To use the screenshot plugin you need scrot, for version control" "Bazaar or SVN and equation editor LaTex/tetex" ) build() { cd $startdir/src/Zim-$pkgver ./configure make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps convert $startdir/pkg/usr/share/pixmaps/zim.png -resize 48x48 -depth 8 $startdir/pkg/usr/share/icons/hicolor/48x48/apps/zim.png }