mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
[skip-ci] lyx: update to 2.3.0
This commit is contained in:
parent
9cfcbcb09d
commit
7664e54a14
24
lyx/PKGBUILD
24
lyx/PKGBUILD
@ -1,6 +1,6 @@
|
|||||||
pkgname=lyx
|
pkgname=lyx
|
||||||
pkgver=2.2.3
|
pkgver=2.3.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="An advanced open-source document processor"
|
pkgdesc="An advanced open-source document processor"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.lyx.org"
|
url="http://www.lyx.org"
|
||||||
@ -8,18 +8,17 @@ screenshot=('http://www.lyx.org/images/about/main_window.png')
|
|||||||
depends=('qt5-base' 'qt5-svg' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'libmythes' 'boost-libs' 'icu' 'hunspell')
|
depends=('qt5-base' 'qt5-svg' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'libmythes' 'boost-libs' 'icu' 'hunspell')
|
||||||
makedepends=('boost' 'bc')
|
makedepends=('boost' 'bc')
|
||||||
optdepends=('texlive-most: TeX Live goodies'
|
optdepends=('texlive-most: TeX Live goodies'
|
||||||
'kbibtex: BibTeX reference manager')
|
'kbibtex: BibTeX reference manager'
|
||||||
|
'python3: support for python scripts')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/$pkgname-$pkgver.tar.xz"
|
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/$pkgname-$pkgver.tar.xz"
|
||||||
'lyx.desktop'
|
|
||||||
'lyxrc.dist')
|
'lyxrc.dist')
|
||||||
md5sums=('032147bf8e05040787b0fca43fd70de3'
|
md5sums=('77fbdf197aad3643745bef635c43db7a'
|
||||||
'3827d343670a38d97bdc7e002ff1e4a1'
|
|
||||||
'b70fdeab95ba4a6c3ff72410dfa61823')
|
'b70fdeab95ba4a6c3ff72410dfa61823')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
|
export CXXFLAGS="$CXXFLAGS -fpermissive"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--enable-qt5 \
|
--enable-qt5 \
|
||||||
--without-included-boost \
|
--without-included-boost \
|
||||||
@ -29,13 +28,8 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" install
|
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 default config file
|
||||||
install -Dm644 "${srcdir}/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"
|
||||||
}
|
}
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=LyX
|
|
||||||
Name[it]=LyX
|
|
||||||
Name[es]=LyX
|
|
||||||
Comment=WYSIWYM LaTeX processor
|
|
||||||
Comment[it]=Editor Latex WYSIWYM
|
|
||||||
Comment[es]=Procesador de documentos estructurados
|
|
||||||
Icon=lyx
|
|
||||||
Exec=lyx
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=false
|
|
||||||
Categories=Office;
|
|
Loading…
Reference in New Issue
Block a user