diff --git a/srcpkgs/lyx/INSTALL b/srcpkgs/lyx/INSTALL new file mode 100644 index 0000000000..9bc0fcd404 --- /dev/null +++ b/srcpkgs/lyx/INSTALL @@ -0,0 +1,49 @@ +# +# This script will advise the user of the needed TeXLive packages +# that are needed to make Lyx working out of the box in a smooth +# way +# +case "${ACTION}" in +post) + + cat << _EOF +===================================================================== + + LyX the document processor need a set of TeXLive packages present + to deploy his power, so you nedd to check if this packages are + installed. + + If you have the default (small) installation of TeXLive, you have to + install them. The quickiest way is to run: + + 'tlmgr install algorithm2e algorithms apacite bbding besoz + bibtopic breakurl covington csquotes diagbox endnotes enumitem + epstopdf esint eurosym feyn fragments framed frankenstein + harvard hyphenat jurabib lettrine luainputenc marginnote + mathdesign mathdots mhchem multirow nicefrac nomencl picinpar + pict2e prettyref preview rotfloat rsfs shapepar sidecap splitidx + splitindex symbol tex-gyre ulem undertilde units wasy wasysym + wrapfig xargs' + + and then run it without --dry-run to install the missing packages. + + To check if some packages are missing under the menu: + "Help" the choice "Latex Configuration" may give you some help. + + As there are many flavour of your preferred applications, i didn't + force you to use any in particular so you must have at least: + a text editor, a PDF viewer, an internet browser. + + If LyX appear on your screen a look in the file: + '~/.lyx/configure.log' + may give you an idea of what is supported by LyX. + + Happy LyXing + + The VoidLinux mantainers + +===================================================================== +_EOF + ;; +esac + diff --git a/srcpkgs/lyx/template b/srcpkgs/lyx/template new file mode 100644 index 0000000000..b02e56dff2 --- /dev/null +++ b/srcpkgs/lyx/template @@ -0,0 +1,18 @@ +# Template file for 'lyx' + +pkgname="lyx" +version="2.1.0" +revision=1 +build_style=gnu-configure +short_desc="LyX the Document Processor WYSIWYM Editor & Latex frontend" +maintainer="Carlo Dormeletti " +license="GPL-2" +hostmakedepends="pkg-config" +makedepends="bc boost-devel enchant-devel file-devel ImageMagick python + qt-devel hunspell-devel" +depends="${makedepends} texlive" +configure_args="--prefix=/usr --without-included-boost --with-hunspell" +conf_files="/etc/lyx/lyxrc.dist" +homepage="http://www.lyx.org/Home" +distfiles="ftp://ftp.lyx.org/pub/${pkgname}/stable/2.1.x/${pkgname}-${version}.tar.gz" +checksum="b55100ee050e3eb8f645b71c5268657d7c2de4a1e90c627d9eab07f044deace3"