#Packager: George Vlahavas pkgname=sigil pkgver=0.5.3 pkgrel=1gv source=("https://sigil.googlecode.com/files/Sigil-0.5.3-Code.zip") docs=("readme.txt" "install.txt" "copying.txt") url=https://code.google.com/p/sigil/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "sigil (A WYSIWYG ebook editor)" "Sigil is a free and open source editor for the EPUB format. It is" "designed for easy, WYSIWYG editing of EPUB files and for converting" "other formats to EPUB. It also provides features for advanced users," "like direct XHTML, CSS and XPGT editing. You can use it to add any of" "the metadata entries supported by the EPUB specification and create a" "hierarchical Table of Contents." ) build() { cd $startdir/src/ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ./ make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps ( cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps ln -sf ../../../../pixmaps/sigil.png sigil.png ) }