[arch-commits] Commit in asymptote/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Aug 26 11:14:31 UTC 2019


    Date: Monday, August 26, 2019 @ 11:14:31
  Author: arojas
Revision: 361217

Update to 2.48

Modified:
  asymptote/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 10:36:49 UTC (rev 361216)
+++ PKGBUILD	2019-08-26 11:14:31 UTC (rev 361217)
@@ -3,34 +3,32 @@
 # Contributor: bender02 at gmx dot com
 
 pkgname=asymptote
-pkgver=2.47+14+g38a59370
-pkgrel=3
+pkgver=2.48
+pkgrel=1
 pkgdesc="A vector graphics language (like metapost)"
 arch=('x86_64')
 url="http://asymptote.sourceforge.net/"
 license=("GPL3")
-depends=('texlive-core' 'gc' 'freeglut' 'glu' 'gsl' 'fftw' 'libsigsegv')
-makedepends=('git' 'ghostscript' 'imagemagick'
+depends=('texlive-core' 'gc' 'freeglut' 'glew' 'gsl' 'fftw' 'libsigsegv')
+makedepends=('ghostscript' 'imagemagick'
              'mesa'               # For OpenGL headers
              'texlive-plainextra' # For texinfo
              'python-pyqt5'       # For xasy GUI generation
-            )
+             'glm')
 optdepends=('python-pyqt5: for the xasy GUI'
             'python-cson:  for the xasy GUI')
-#source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz")
-#sha1sums=('89b6eaf4148ebe9cae61a171a7a7ce24f38a7cbb')
-_commit=38a59370dc5ac720c29e1424614a10f7384b943f
-source=("git+https://github.com/vectorgraphics/asymptote#commit=$_commit")
-sha1sums=(SKIP)
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz")
+sha1sums=('443145da3abd976e8926b10e41450e49068de526')
 
 prepare() {
-  cd "${srcdir}/${pkgname}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./autogen.sh
 }
 
 build() {
-  cd "${srcdir}/${pkgname}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
+  export CXXFLAGS+=" -I${srcdir}/${pkgname}-${pkgver}"
   ./configure --enable-gc=/usr \
               --prefix=/usr \
               --with-latex=/usr/share/texmf/tex/latex \
@@ -40,12 +38,12 @@
 }
 
 check() {
-  cd "${srcdir}/${pkgname}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make check-all
 }
 
 package() {
-  cd "${srcdir}/${pkgname}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make -j1 DESTDIR="${pkgdir}" install-all
   # this dir contains png files that are already embedded in the pdf documentation:
   rm -rf ${pkgdir}/usr/share/info/asymptote



More information about the arch-commits mailing list