Date: Wednesday, November 30, 2011 @ 01:29:21 Author: ibiru Revision: 143869
db-move: moved lyx from [staging] to [testing] (x86_64) Added: lyx/repos/testing-x86_64/ lyx/repos/testing-x86_64/PKGBUILD (from rev 143849, lyx/repos/staging-x86_64/PKGBUILD) lyx/repos/testing-x86_64/lyx.desktop (from rev 143849, lyx/repos/staging-x86_64/lyx.desktop) lyx/repos/testing-x86_64/lyx.install (from rev 143849, lyx/repos/staging-x86_64/lyx.install) lyx/repos/testing-x86_64/lyxrc.dist (from rev 143849, lyx/repos/staging-x86_64/lyxrc.dist) Deleted: lyx/repos/staging-x86_64/ -------------+ PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ lyx.desktop | 14 ++++++++++++++ lyx.install | 14 ++++++++++++++ lyxrc.dist | 14 ++++++++++++++ 4 files changed, 89 insertions(+) Copied: lyx/repos/testing-x86_64/PKGBUILD (from rev 143849, lyx/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-11-30 06:29:21 UTC (rev 143869) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Jason Chu <ja...@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" +} Copied: lyx/repos/testing-x86_64/lyx.desktop (from rev 143849, lyx/repos/staging-x86_64/lyx.desktop) =================================================================== --- testing-x86_64/lyx.desktop (rev 0) +++ testing-x86_64/lyx.desktop 2011-11-30 06:29:21 UTC (rev 143869) @@ -0,0 +1,14 @@ +[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; Copied: lyx/repos/testing-x86_64/lyx.install (from rev 143849, lyx/repos/staging-x86_64/lyx.install) =================================================================== --- testing-x86_64/lyx.install (rev 0) +++ testing-x86_64/lyx.install 2011-11-30 06:29:21 UTC (rev 143869) @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove () { + post_install +} + + + Copied: lyx/repos/testing-x86_64/lyxrc.dist (from rev 143849, lyx/repos/staging-x86_64/lyxrc.dist) =================================================================== --- testing-x86_64/lyxrc.dist (rev 0) +++ testing-x86_64/lyxrc.dist 2011-11-30 06:29:21 UTC (rev 143869) @@ -0,0 +1,14 @@ +### 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"