#Maintainer: tsuren pkgname=comix pkgver=4.0.4 pkgrel=1 zenver=62 arch=noarch source=(http://downloads.sourceforge.net/comix/comix-4.0.4.tar.gz) sourcetemplate=("http://zenwalk.pinguix.com/user-accounts/tsuren/xap/comix/") docs=("README" "install" "COPYING" "Changelog" "authors" "news" "todo") url="http://comix.sourceforge.net/" extradepends=(Imaging,pygtk) CFLAGS="-O2 -march=i686 -mtune=i686" CXXFLAGS=$CFLAGS slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "comix (comic book viewer)" "Comix is a user-friendly, customizable image viewer. It is " "specifically designed to handle comic books, but also serves as a " "generic viewer. It reads images in ZIP, RAR or tar archives " "(also gzip or bzip2 compressed) as well as plain image files. It is " "written in Python and uses GTK+ through the PyGTK bindings. " ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p $startdir/pkg/usr python install.py install --dir $startdir/pkg/usr --no-mime mkdir -p $startdir/pkg/usr/share/applications cp -af $startdir/comix.desktop $startdir/pkg/usr/share/applications rm -r $startdir/pkg/usr/bin } # Create the doinst.sh File doinst() { ln -s /usr/share/comix/src/comix.py /usr/bin/comix }