[arch-commits] Commit in texworks/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Mon Mar 30 10:27:40 UTC 2020
Date: Monday, March 30, 2020 @ 10:27:39
Author: diabonas
Revision: 606723
archrelease: copy trunk to community-x86_64
Added:
texworks/repos/community-x86_64/PKGBUILD
(from rev 606722, texworks/trunk/PKGBUILD)
Deleted:
texworks/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 39 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 10:27:33 UTC (rev 606722)
+++ PKGBUILD 2020-03-30 10:27:39 UTC (rev 606723)
@@ -1,41 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=texworks
-pkgver=0.6.5
-pkgrel=1
-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=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
-
-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
-}
Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 606722, texworks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-30 10:27:39 UTC (rev 606723)
@@ -0,0 +1,39 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.5
+pkgrel=2
+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=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
+
+build() {
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
+ -DTW_BUILD_ID='Arch Linux' \
+ -DWITH_PYTHON=ON \
+ -B build \
+ -S "texworks-release-$pkgver"
+ make -C build
+}
+
+check() {
+ cd build
+ xvfb-run ctest --output-on-failure
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list