summaryrefslogtreecommitdiff
path: root/extra/lyx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
commit1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (patch)
tree25b059dc89bbd5f44377c1df6f612cf6556a6076 /extra/lyx
parent42db4a0cf3a829fcd1bc2150669c6aa3c2984815 (diff)
Sat Sep 10 23:14:36 UTC 2011
Diffstat (limited to 'extra/lyx')
-rw-r--r--extra/lyx/PKGBUILD18
-rw-r--r--extra/lyx/lyx.desktop17
-rw-r--r--extra/lyx/lyx.install14
3 files changed, 35 insertions, 14 deletions
diff --git a/extra/lyx/PKGBUILD b/extra/lyx/PKGBUILD
index cf09d5f97..2e859b3a3 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 133449 2011-07-28 03:31:32Z heftig $
+# $Id: PKGBUILD 137569 2011-09-09 19:59:53Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=lyx
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.0.1
+pkgrel=1
pkgdesc="An advanced open-source document processor."
arch=('i686' 'x86_64')
url="http://www.lyx.org"
-depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'aiksaurus' 'boost-libs')
-makedepends=('boost')
+depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'boost-libs')
+makedepends=('boost' 'libmythes')
license=('GPL')
source=(ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz \
lyx.desktop)
-sha1sums=('27bf0ee623aae0e59780d9f627cdf5cb788a2516'
- 'e207a0b14d58aeb7b83f8fc47ab2e668cbc66844')
+install=lyx.install
+sha1sums=('225b4d853f38463e986a9b42a39cac432da56d8a'
+ 'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -22,7 +23,8 @@ build() {
sed -i 's|"python|"python2|' lib/configure.py src/support/os.cpp
export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure --prefix=/usr \
- --with-frontend=qt4 --without-included-boost
+ --with-frontend=qt4 --without-included-boost \
+ --without-included-mythes
make
}
diff --git a/extra/lyx/lyx.desktop b/extra/lyx/lyx.desktop
index 91a90d810..649b30c98 100644
--- a/extra/lyx/lyx.desktop
+++ b/extra/lyx/lyx.desktop
@@ -1,9 +1,14 @@
[Desktop Entry]
-Name=Lyx
-Comment=Latex WYSIWYM Editor
-Icon=/usr/share/lyx/images/lyx.png
-Exec=lyx
-Terminal=false
+Version=1.0
Type=Application
+Name=LyX Document Processor
+GenericName=Document Processor
+Comment=High level LaTeX frontend
+Exec=lyx %F
+TryExec=lyx
+Icon=lyx
StartupNotify=false
-Categories=Office;
+StartupWMClass=Lyx
+Terminal=false
+Categories=Office;WordProcessor;Qt;
+MimeType=text/x-lyx;application/x-lyx;
diff --git a/extra/lyx/lyx.install b/extra/lyx/lyx.install
new file mode 100644
index 000000000..c15c17b3a
--- /dev/null
+++ b/extra/lyx/lyx.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ post_install
+}
+
+
+