summaryrefslogtreecommitdiff
path: root/staging/lyx
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /staging/lyx
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'staging/lyx')
-rw-r--r--staging/lyx/PKGBUILD50
-rw-r--r--staging/lyx/lyx.desktop14
-rw-r--r--staging/lyx/lyx.install14
-rw-r--r--staging/lyx/lyxrc.dist14
4 files changed, 0 insertions, 92 deletions
diff --git a/staging/lyx/PKGBUILD b/staging/lyx/PKGBUILD
deleted file mode 100644
index a76ad43cb..000000000
--- a/staging/lyx/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 151661 2012-02-29 21:11:11Z ronald $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jason Chu <jason@archlinux.org>
-
-pkgname=lyx
-pkgver=2.0.3
-pkgrel=2
-pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
-arch=('i686' 'x86_64')
-url="http://www.lyx.org"
-depends=('qt' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
-makedepends=('boost')
-optdepends=('rcs: built-in version control system'
- 'texlive-latexextra: float wrap support')
-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
-options=('emptydirs')
-sha1sums=('109dae0ef22a7d8944964b32ee380ad170b0665f'
- '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/staging/lyx/lyx.desktop b/staging/lyx/lyx.desktop
deleted file mode 100644
index 649b30c98..000000000
--- a/staging/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/staging/lyx/lyx.install b/staging/lyx/lyx.install
deleted file mode 100644
index c15c17b3a..000000000
--- a/staging/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/staging/lyx/lyxrc.dist b/staging/lyx/lyxrc.dist
deleted file mode 100644
index dd18694f9..000000000
--- a/staging/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"