[arch-commits] Commit in texworks/repos (community-x86_64 community-x86_64/PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Fri Oct 11 15:44:07 UTC 2019
Date: Friday, October 11, 2019 @ 15:44:06
Author: diabonas
Revision: 514940
archrelease: copy trunk to community-x86_64
Added:
texworks/repos/community-x86_64/
texworks/repos/community-x86_64/PKGBUILD
(from rev 514939, texworks/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 514939, texworks/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-10-11 15:44:06 UTC (rev 514940)
@@ -0,0 +1,36 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.3
+pkgrel=4
+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
+}
More information about the arch-commits
mailing list