blob: adebedd29ef28525c32a0fa334cb18dd92ab7b4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Bruno Silva <brunofernandes at ua dot pt>
pkgname=lyx-git
_pkgname=lyx
pkgver=2.4.Beta1.r369.g109ea2be4a
pkgrel=1
pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
arch=('i686' 'x86_64')
url="http://www.lyx.org"
license=('GPL')
depends=(qt5-svg qt5-base python imagemagick enchant python-pyenchant boost-libs libmythes file)
makedepends=(glibc qt5-base git autoconf automake gcc bc)
optdepends=(texlive-core rcs texlive-latexextra)
provides=('lyx')
conflicts=('lyx')
source=("${_pkgname}::git://git.lyx.org/${_pkgname}.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "${srcdir}/${_pkgname}"
./autogen.sh && ./configure --enable-qt5 --prefix=/usr
make -j"$(nproc)"
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="$pkgdir/" install
}
|