[arch-commits] Commit in asymptote/repos (6 files)

Rémy Oudompheng remy at nymeria.archlinux.org
Thu Aug 1 06:21:43 UTC 2013


    Date: Thursday, August 1, 2013 @ 08:21:42
  Author: remy
Revision: 191882

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  asymptote/repos/testing-i686/
  asymptote/repos/testing-i686/PKGBUILD
    (from rev 191881, asymptote/trunk/PKGBUILD)
  asymptote/repos/testing-i686/texlive.install
    (from rev 191881, asymptote/trunk/texlive.install)
  asymptote/repos/testing-x86_64/
  asymptote/repos/testing-x86_64/PKGBUILD
    (from rev 191881, asymptote/trunk/PKGBUILD)
  asymptote/repos/testing-x86_64/texlive.install
    (from rev 191881, asymptote/trunk/texlive.install)

--------------------------------+
 testing-i686/PKGBUILD          |   47 +++++++++++++++++++++++++++++++++++++++
 testing-i686/texlive.install   |   20 ++++++++++++++++
 testing-x86_64/PKGBUILD        |   47 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/texlive.install |   20 ++++++++++++++++
 4 files changed, 134 insertions(+)

Copied: asymptote/repos/testing-i686/PKGBUILD (from rev 191881, asymptote/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-08-01 06:21:42 UTC (rev 191882)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.24
+pkgrel=1
+pkgdesc="A vector graphics language (like metapost)"
+arch=('i686' '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'
+            'python-imaging:    for the xasy GUI'
+            'tix:               for the xasy GUI')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz)
+install=texlive.install
+sha1sums=('26dd0f4a36af0bc1d007d89ec7280ca55e9ed368')
+
+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
+}

Copied: asymptote/repos/testing-i686/texlive.install (from rev 191881, asymptote/trunk/texlive.install)
===================================================================
--- testing-i686/texlive.install	                        (rev 0)
+++ testing-i686/texlive.install	2013-08-01 06:21:42 UTC (rev 191882)
@@ -0,0 +1,20 @@
+info_dir=usr/share/info
+
+post_install() {
+  install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+  echo ">>> updating the filename database for texlive..."
+  mktexlsr --quiet usr/share/texmf
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+}
+
+post_remove() {
+  echo ">>> updating the filename database for texlive..."
+  mktexlsr --quiet usr/share/texmf
+}

Copied: asymptote/repos/testing-x86_64/PKGBUILD (from rev 191881, asymptote/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-08-01 06:21:42 UTC (rev 191882)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.24
+pkgrel=1
+pkgdesc="A vector graphics language (like metapost)"
+arch=('i686' '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'
+            'python-imaging:    for the xasy GUI'
+            'tix:               for the xasy GUI')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz)
+install=texlive.install
+sha1sums=('26dd0f4a36af0bc1d007d89ec7280ca55e9ed368')
+
+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
+}

Copied: asymptote/repos/testing-x86_64/texlive.install (from rev 191881, asymptote/trunk/texlive.install)
===================================================================
--- testing-x86_64/texlive.install	                        (rev 0)
+++ testing-x86_64/texlive.install	2013-08-01 06:21:42 UTC (rev 191882)
@@ -0,0 +1,20 @@
+info_dir=usr/share/info
+
+post_install() {
+  install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+  echo ">>> updating the filename database for texlive..."
+  mktexlsr --quiet usr/share/texmf
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+}
+
+post_remove() {
+  echo ">>> updating the filename database for texlive..."
+  mktexlsr --quiet usr/share/texmf
+}




More information about the arch-commits mailing list