desktop/lyx/PKGBUILD

41 lines
1.2 KiB
Bash
Raw Normal View History

# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
2010-06-03 07:12:46 +08:00
pkgname=lyx
2014-04-27 21:31:19 +08:00
pkgver=2.1.0
2014-06-11 06:25:57 +08:00
pkgrel=2
pkgdesc="An advanced open-source document processor"
2012-11-12 12:14:36 +08:00
arch=('x86_64')
2010-06-03 07:12:46 +08:00
url="http://www.lyx.org"
2014-04-27 21:31:19 +08:00
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'libmythes' 'boost-libs' 'icu')
makedepends=('boost' 'bc')
optdepends=('texlive-most: TeX Live goodies'
'kbibtex: BibTeX reference manager')
2010-06-03 07:12:46 +08:00
license=('GPL')
2014-04-27 21:31:19 +08:00
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/$pkgname-$pkgver.tar.xz"
'lyx.desktop'
'lyxrc.dist')
2012-07-04 01:00:08 +08:00
screenshot=('http://www.lyx.org/images/about/main_window.png')
2014-04-27 21:31:19 +08:00
md5sums=('9441eb16b07bae3aeaf7d8ebaa74b73f'
'a511db621c56ff56383496533db3701a'
'b70fdeab95ba4a6c3ff72410dfa61823')
2010-06-03 07:12:46 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-frontend=qt4 --without-included-boost
2012-07-04 01:00:08 +08:00
make
2011-09-07 10:34:16 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-06-03 07:12:46 +08:00
# install desktop entry
2011-09-07 10:34:16 +08:00
install -Dm644 "${srcdir}/lyx.desktop" "${pkgdir}/usr/share/applications/lyx.desktop"
2014-04-27 21:31:19 +08:00
# install default config file
install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/usr/share/lyx/lyxrc.dist"
2010-06-03 07:12:46 +08:00
}