Date: Wednesday, December 4, 2019 @ 12:58:19 Author: diabonas Revision: 535189
archrelease: copy trunk to community-x86_64 Added: texworks/repos/community-x86_64/PKGBUILD (from rev 535188, texworks/trunk/PKGBUILD) Deleted: texworks/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 77 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 41 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-04 12:58:14 UTC (rev 535188) +++ PKGBUILD 2019-12-04 12:58:19 UTC (rev 535189) @@ -1,36 +0,0 @@ -# Maintainer: Jonas Witschel <diabo...@archlinux.org> -pkgname=texworks -pkgver=0.6.3 -pkgrel=5 -pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer' -arch=('x86_64') -url='https://www.tug.org/texworks/' -license=('GPL') -depends=('hunspell' 'poppler-qt5' 'qt5-script') -makedepends=('cmake' 'lua' 'python' 'qt5-tools') -checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb') -optdepends=('gsfonts: correctly display PDF files without embedded fonts' - 'lua: Lua scripts support' - 'poppler-data: correctly display certain CJK documents' - 'python: Python scripts support' - 'texlive-core: typeset TeX documents') -source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz") -sha512sums=('389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653') - -build() { - cd "texworks-release-$pkgver" - mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DTW_BUILD_ID='Arch Linux' -DWITH_PYTHON=ON .. - make -} - -check() { - cd "texworks-release-$pkgver/build" - xvfb-run ctest --output-on-failure -} - -package() { - cd "texworks-release-$pkgver/build" - make DESTDIR="$pkgdir" install -} Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 535188, texworks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-04 12:58:19 UTC (rev 535189) @@ -0,0 +1,41 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=texworks +pkgver=0.6.3 +pkgrel=6 +pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer' +arch=('x86_64') +url='https://www.tug.org/texworks/' +license=('GPL') +depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-script') +makedepends=('cmake' 'lua' 'python' 'qt5-tools') +checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb') +optdepends=('gsfonts: correctly display PDF files without embedded fonts' + 'lua: Lua scripts support' + 'poppler-data: correctly display certain CJK documents' + 'python: Python scripts support' + 'texlive-core: typeset TeX documents') +source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz") +sha512sums=('389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653') + +prepare() { + mkdir build +} + +build() { + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DTW_BUILD_ID='Arch Linux' \ + -DWITH_PYTHON=ON \ + "$srcdir/texworks-release-$pkgver" + make +} + +check() { + cd build + xvfb-run ctest --output-on-failure +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}