summaryrefslogtreecommitdiff
path: root/testing/lyx
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
commit8736f458a17a03cf79a763a0c8122f93162fed71 (patch)
treefba97f22de8410ee5df8985e6c98756093578100 /testing/lyx
parentd1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff)
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'testing/lyx')
-rw-r--r--testing/lyx/PKGBUILD47
-rw-r--r--testing/lyx/lyx.desktop14
-rw-r--r--testing/lyx/lyx.install14
-rw-r--r--testing/lyx/lyxrc.dist14
4 files changed, 0 insertions, 89 deletions
diff --git a/testing/lyx/PKGBUILD b/testing/lyx/PKGBUILD
deleted file mode 100644
index e78a14c10..000000000
--- a/testing/lyx/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 143869 2011-11-30 06:29:21Z ibiru $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jason Chu <jason@archlinux.org>
-
-pkgname=lyx
-pkgver=2.0.1
-pkgrel=3
-pkgdesc="An advanced open-source document processor"
-arch=('i686' 'x86_64')
-url="http://www.lyx.org"
-depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
-makedepends=('boost')
-license=('GPL')
-source=(ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz
- lyx.desktop lyxrc.dist)
-backup=('etc/lyx/lyxrc.dist')
-install=lyx.install
-sha1sums=('225b4d853f38463e986a9b42a39cac432da56d8a'
- 'e2b8f6d6cdeec41e1d5795167f5557e4a6ea28ad'
- '56416642cc3da2a13b87b84e6b87c1a239f3d09a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- find . -type f -exec sed -i 's|#!.*python|#!/usr/bin/env python2|' {} +
- 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 \
- --without-included-mythes
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- # install desktop entry
- install -Dm644 "${srcdir}/lyx.desktop" \
- "${pkgdir}/usr/share/applications/lyx.desktop"
- install -Dm644 "lib/images/lyx.png" \
- "${pkgdir}/usr/share/pixmaps/lyx.png"
-
- # install default config file
- install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist"
- ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist"
-}
diff --git a/testing/lyx/lyx.desktop b/testing/lyx/lyx.desktop
deleted file mode 100644
index 649b30c98..000000000
--- a/testing/lyx/lyx.desktop
+++ /dev/null
@@ -1,14 +0,0 @@
-[Desktop Entry]
-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
-StartupWMClass=Lyx
-Terminal=false
-Categories=Office;WordProcessor;Qt;
-MimeType=text/x-lyx;application/x-lyx;
diff --git a/testing/lyx/lyx.install b/testing/lyx/lyx.install
deleted file mode 100644
index c15c17b3a..000000000
--- a/testing/lyx/lyx.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove () {
- post_install
-}
-
-
-
diff --git a/testing/lyx/lyxrc.dist b/testing/lyx/lyxrc.dist
deleted file mode 100644
index dd18694f9..000000000
--- a/testing/lyx/lyxrc.dist
+++ /dev/null
@@ -1,14 +0,0 @@
-### This file is part of
-### ========================================================
-### LyX, The Document Processor
-###
-### Copyright 1995 Matthias Ettrich
-### Copyright 1995-2011 The LyX Team.
-###
-### ========================================================
-
-# The file lyxrc.dist gives initial global options for all LyX users.
-# Almost all settings here can be overridden through the preferences in LyX.
-
-\thesaurusdir_path "/usr/share/mythes"
-\hunspelldir_path "/usr/share/myspell"