[arch-commits] Commit in texworks/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Sat Feb 26 14:00:03 UTC 2022


    Date: Saturday, February 26, 2022 @ 14:00:02
  Author: diabonas
Revision: 1136661

archrelease: copy trunk to community-x86_64

Added:
  texworks/repos/community-x86_64/PKGBUILD
    (from rev 1136660, texworks/trunk/PKGBUILD)
Deleted:
  texworks/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 47 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-26 13:59:44 UTC (rev 1136660)
+++ PKGBUILD	2022-02-26 14:00:02 UTC (rev 1136661)
@@ -1,39 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=texworks
-pkgver=0.6.6
-pkgrel=3
-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-base' 'qt5-declarative' 'qt5-script' 'libpoppler-qt5.so')
-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=('3c1f09d3bb1a2a32947abc079c8def1a5f8a12203ccc6d25a2dc98ae7c4506f83653e8cac467ee74669d48a152c69110250c925c2bf9e40bafd6ae123f68a891')
-
-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
-}

Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 1136660, texworks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-26 14:00:02 UTC (rev 1136661)
@@ -0,0 +1,47 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.7
+_tag=4698e3a108f4ef7dcd234a00e7ef72a341878986 # git rev-parse "release-$pkgver"
+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-base' 'qt5-declarative' 'qt5-script' 'libpoppler-qt5.so')
+makedepends=('git' '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')
+options=('debug')
+source=("git+https://github.com/TeXworks/texworks.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+validpgpkeys=('8740ED04AF6A4FCC6BC51C426806F10000582F84') # Stefan Löffler (TeXworks) <st.loeffler at gmail.com>
+
+pkgver() {
+	cd "$pkgname"
+	git describe | sed 's/^release-//;s/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+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 "$pkgname"
+	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