Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
asymptote


Commits:
56c109a2 by Antonio Rojas at 2024-11-12T09:06:10+01:00
upgpkg: 2.93-1: Update to 2.93

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = asymptote
        pkgdesc = A vector graphics language (like metapost)
-       pkgver = 2.92
+       pkgver = 2.93
        pkgrel = 1
        url = http://asymptote.sourceforge.net/
        arch = x86_64
@@ -9,12 +9,13 @@ pkgbase = asymptote
        makedepends = cmake
        makedepends = doxygen
        makedepends = ghostscript
+       makedepends = git
        makedepends = glm
        makedepends = glu
        makedepends = imagemagick
+       makedepends = python-click
        makedepends = python-pyqt5
        makedepends = texlive-binextra
-       makedepends = texlive-meta
        makedepends = texlive-fontutils
        makedepends = texlive-latexextra
        makedepends = texlive-plaingeneric
@@ -33,7 +34,7 @@ pkgbase = asymptote
        optdepends = python-pyqt5: for the xasy GUI
        optdepends = python-cson: for the xasy GUI
        optdepends = ghostscript: PDF output
-       source = 
https://github.com/vectorgraphics/asymptote/archive/2.92/asymptote-2.92.tar.gz
-       sha256sums = 
41124c7d71b1d0457776be729ba6917690c808656defd75cae8b3bed5dccd769
+       source = git+https://github.com/vectorgraphics/asymptote#tag=2.93
+       sha256sums = 
59a06d742e54ded2efe462957ec19f273c5b95ed496193f60ae28c68ee0b6eb0
 
 pkgname = asymptote


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 # Contributor: bender02 at gmx dot com
 
 pkgname=asymptote
-pkgver=2.92
+pkgver=2.93
 pkgrel=1
 pkgdesc='A vector graphics language (like metapost)'
 arch=(x86_64)
@@ -26,42 +26,44 @@ makedepends=(boost
              cmake
              doxygen
              ghostscript
+             git
              glm
              glu
              imagemagick
+             python-click
              python-pyqt5
-             texlive-binextra texlive-meta
+             texlive-binextra
              texlive-fontutils
              texlive-latexextra
              texlive-plaingeneric)
 optdepends=('python-pyqt5: for the xasy GUI'
             'python-cson: for the xasy GUI'
             'ghostscript: PDF output')
-source=(https://github.com/vectorgraphics/asymptote/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('41124c7d71b1d0457776be729ba6917690c808656defd75cae8b3bed5dccd769')
+source=(git+https://github.com/vectorgraphics/asymptote#tag=$pkgver)
+sha256sums=('59a06d742e54ded2efe462957ec19f273c5b95ed496193f60ae28c68ee0b6eb0')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./autogen.sh
 }
 
 build() {
-  cd $pkgname-$pkgver
-  CXXFLAGS+=" -I$srcdir/$pkgname-$pkgver" \
+  cd $pkgname
+  CXXFLAGS+=" -I$srcdir/$pkgname" \
   ./configure --enable-gc=/usr \
               --prefix=/usr \
               --with-latex=/usr/share/texmf/tex/latex \
               --with-context=/usr/share/texmf/tex/context
-  make asy asy-keywords.el
+  make asy asy-keywords.el base/webgl/asygl.js
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make check-all
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install-asy
   # this dir contains png files that are already embedded in the pdf 
documentation:
   rm -rf "$pkgdir"/usr/share/info/asymptote



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/asymptote/-/commit/56c109a2552cb27023ab041099ead7d9e3c39dce

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/asymptote/-/commit/56c109a2552cb27023ab041099ead7d9e3c39dce
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to