#Maintainer: Godane #Anything commented out is optional and can be deleted. pkgname=celtx pkgver=1.0 pkgrel=1 zenver=54 arch=i486 source=(http://celtx.com/download/Celtx.tar.gz celtx.png) #docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") sourcetemplate=("http://zenwalk.pinguix.com/user-accounts/tsuren/xp/celtx") url="http://celtx.com/" extradepends=(glibc) lessdepends=(glibc-solibs) #dotnew=() CFLAGS="-O2 -march=i486 -mtune=i686" CXXFLAGS=$CFLAGS #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "celtx (A screenwriting program based on mozilla)" "Celtx is the world's first fully integrated solution for media " "pre-production and collaboration. It replaces old fashioned 'paper, " "pen & binder' media creation with a digital approach to writing and " "organizing that's more complete, simpler to work with, and easier to " "share." ) build() { cd $startdir/src/$pkgname mkdir -p $startdir/pkg/usr/lib mkdir -p $startdir/pkg/usr/bin mkdir -p $startdir/pkg/etc/ld.so.conf.d mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps mkdir -p $startdir/pkg/usr/share/applications echo "/usr/lib/celtx" >> $startdir/pkg/etc/ld.so.conf.d/$pkgname.conf cp -R $startdir/src/$pkgname $startdir/pkg/usr/lib ln -sf /usr/lib/$pkgname/$pkgname $startdir/pkg/usr/bin/$pkgname cp $startdir/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png #create desktop file cd $startdir/pkg cat << "EOF" >$startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Encoding=UTF-8 Name=Celtx Exec=celtx Terminal=false Type=Application StartupWMClass=celtx-bin Categories=Application;Development; Icon=celtx EOF }