#Maintainer: R S Ananda Murthy #Former Maintainer(s): Nil #Anything commented out is optional and can be deleted. pkgname=lyx pkgver=2.0.3 pkgrel=1 zenver=72 arch=i486 source=("ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.gz" "lyx.png") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("ABOUT-NLS" "ANNOUNCE" "COPYING" "INSTALL" "README" "NEWS" "README.localization" "RELEASE-NOTES" "UPGRADING") url="http://www.lyx.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "LyX -- An Advanced Open Source Document Processor" "LyX is a document processor that encourages an approach to writing" "based on the structure of your documents and not simply their" "appearance. It uses LaTeX in the background for type setting the" "document. So, LyX needs LaTeX to be installed. LaTeX is available in" "the package tetex or in TexLive." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cat < $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Encoding=UTF-8 Name=LyX Comment=Document Processor Exec=lyx Terminal=false Type=Application Categories=Application;Office; Icon=lyx StartupNotify=false EOF mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png }