summaryrefslogtreecommitdiff
path: root/extra/lyx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lyx/PKGBUILD')
-rw-r--r--extra/lyx/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/lyx/PKGBUILD b/extra/lyx/PKGBUILD
index 156688814..b07340749 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 137636 2011-09-10 09:15:43Z ronald $
+# $Id: PKGBUILD 144059 2011-12-02 20:54:39Z ibiru $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=lyx
pkgver=2.0.1
-pkgrel=2
-pkgdesc="An advanced open-source document processor."
+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 \
+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
@@ -36,10 +36,12 @@ package() {
make DESTDIR="${pkgdir}" install
# install desktop entry
- install -Dm644 "${srcdir}/lyx.desktop" "${pkgdir}/usr/share/applications/lyx.desktop"
+ 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
+ install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist"
+ ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist"
}
-