desktop/lyx/PKGBUILD

39 lines
1023 B
Bash
Raw Normal View History

2010-06-03 07:12:46 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
2012-07-04 01:00:08 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2010-06-03 07:12:46 +08:00
pkgname=lyx
2012-07-04 01:00:08 +08:00
pkgver=2.0.4
2011-02-10 00:51:05 +08:00
pkgrel=1
2010-06-03 07:12:46 +08:00
pkgdesc="An advanced open-source document processor."
arch=('i686' 'x86_64')
url="http://www.lyx.org"
2012-01-01 02:59:55 +08:00
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'boost-libs' 'icu')
makedepends=('boost')
2010-06-03 07:12:46 +08:00
optdepends=('texlive-latex3: pdf export')
categories=('office')
2010-06-03 07:12:46 +08:00
license=('GPL')
2011-05-04 04:22:08 +08:00
source=(ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz \
2010-06-03 07:12:46 +08:00
lyx.desktop)
2012-07-04 01:00:08 +08:00
screenshot=('http://www.lyx.org/images/about/main_window.png')
md5sums=('3c0a5216270d6ac8637c667ff59ca12b'
2010-11-19 22:59:40 +08:00
'0a7a76d3d9682f8d18ef0ed002b6d6e8')
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"
2010-06-03 07:12:46 +08:00
}