[arch-commits] Commit in asymptote/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Fri Aug 10 17:02:31 UTC 2018


    Date: Friday, August 10, 2018 @ 17:02:31
  Author: remy
Revision: 331355

archrelease: copy trunk to extra-x86_64

Added:
  asymptote/repos/extra-x86_64/PKGBUILD
    (from rev 331354, asymptote/trunk/PKGBUILD)
Deleted:
  asymptote/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-10 17:02:30 UTC (rev 331354)
+++ PKGBUILD	2018-08-10 17:02:31 UTC (rev 331355)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-# Contributor: Firmicus <francois.archlinux.org>
-# Contributor: bender02 at gmx dot com
-
-pkgname=asymptote
-pkgver=2.44
-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=('ghostscript' 'imagemagick'
-             'mesa'               # For OpenGL headers
-             'texlive-plainextra' # For texinfo
-            )
-optdepends=('python2:           for the xasy GUI'
-            'python2-pillow:    for the xasy GUI'
-            'tix:               for the xasy GUI')
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz")
-sha1sums=('2eaa5128d4f65d8a6dc797505c6b06498b933c4e')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --enable-gc=/usr \
-              --prefix=/usr \
-              --with-latex=/usr/share/texmf/tex/latex \
-              --with-context=/usr/share/texmf/tex/context \
-              --enable-offscreen
-  make all
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check-all
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make -j1 DESTDIR="${pkgdir}" install-all
-  sed -i -e 's at env python at env python2@' ${pkgdir}/usr/share/asymptote/GUI/*.py
-  # this dir contains png files that are already embedded in the pdf documentation:
-  rm -rf ${pkgdir}/usr/share/info/asymptote
-
-  # copy some data files to their correct location
-  mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
-  cp "$pkgdir"/usr/share/asymptote/*.el "$pkgdir"/usr/share/emacs/site-lisp
-  mkdir -p "$pkgdir"/usr/share/vim/vimfiles/syntax
-  cp "$pkgdir"/usr/share/asymptote/*.vim "$pkgdir"/usr/share/vim/vimfiles/syntax
-  mkdir -p "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
-  cd "$pkgdir"/usr/share/asymptote/
-  sh asy-kate.sh
-  mv asymptote.xml "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
-}

Copied: asymptote/repos/extra-x86_64/PKGBUILD (from rev 331354, asymptote/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-10 17:02:31 UTC (rev 331355)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.47
+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=('ghostscript' 'imagemagick'
+             'mesa'               # For OpenGL headers
+             'texlive-plainextra' # For texinfo
+             'python-pyqt5'       # For xasy GUI generation
+            )
+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')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --enable-gc=/usr \
+              --prefix=/usr \
+              --with-latex=/usr/share/texmf/tex/latex \
+              --with-context=/usr/share/texmf/tex/context \
+              --enable-offscreen
+  make all
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check-all
+}
+
+package() {
+  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
+
+  # copy some data files to their correct location
+  mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
+  cp "$pkgdir"/usr/share/asymptote/*.el "$pkgdir"/usr/share/emacs/site-lisp
+  mkdir -p "$pkgdir"/usr/share/vim/vimfiles/syntax
+  cp "$pkgdir"/usr/share/asymptote/*.vim "$pkgdir"/usr/share/vim/vimfiles/syntax
+  mkdir -p "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
+  cd "$pkgdir"/usr/share/asymptote/
+  sh asy-kate.sh
+  mv asymptote.xml "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
+}



More information about the arch-commits mailing list