# Maintainer: Luis Henrique # Mandatory pkgname=lyx pkgver=1.6.9 pkgrel=1lm source=("http://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.9.tar.bz2" "lyx.desktop" "lyx.png") # Optional docs=("ABOUT-NSL" "ANNOUNCE" "COPYING" "INSTALL*" "NEWS" "README*" "RELEASE-NOTES" "UPGRADING") url="http://www.lyx.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lyx (document processor)" "LyX is a document processor that encourages an approach to writing" "based on the structure of your documents (WYSIWYM) and not simply" "their appearance (WYSIWYG)." "" "LyX combines the power and flexibility of TeX/LaTeX with the ease" "of use of a graphical interface." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --enable-static=no \ --enable-shared=yes \ --build=$arch-slackware-linux make || return 1 make DESTDIR=$startdir/pkg install # Install menu entry: mkdir -p $startdir/pkg/usr/share/applications mkdir -p $startdir/pkg/usr/share/icons/hicolor/64x64/apps cp -a $startdir/src/lyx.desktop $startdir/pkg/usr/share/applications cp -a $startdir/src/lyx.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps }