#Maintainer: R S Ananda Murthy #Former Maintainer(s): Nil #Anything commented out is optional and can be deleted. pkgname=lyx pkgver=1.6.4 pkgrel=1am arch=i486 source=("ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.bz2" "lyx.png") sourcetemplate=http://people.salixos.org/rsamurti/$pkgname docs=("ABOUT-NLS" "ANNOUNCE" "COPYING" "INSTALL" "README" "NEWS" "README.localization" "RELEASE-NOTES" "UPGRADING") url="http://www.lyx.org/" #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} 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 --libdir=/usr/lib${LIBDIRSUFFIX} --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=true 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 }