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

Rémy Oudompheng remy at nymeria.archlinux.org
Fri Sep 20 06:58:43 UTC 2013


    Date: Friday, September 20, 2013 @ 08:58:42
  Author: remy
Revision: 194649

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

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

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

Copied: asymptote/repos/staging-i686/PKGBUILD (from rev 194648, asymptote/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-09-20 06:58:42 UTC (rev 194649)
@@ -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=2
+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'
+            'python2-pillow:    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/staging-i686/texlive.install (from rev 194648, asymptote/trunk/texlive.install)
===================================================================
--- staging-i686/texlive.install	                        (rev 0)
+++ staging-i686/texlive.install	2013-09-20 06:58:42 UTC (rev 194649)
@@ -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/staging-x86_64/PKGBUILD (from rev 194648, asymptote/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-09-20 06:58:42 UTC (rev 194649)
@@ -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=2
+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'
+            'python2-pillow:    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/staging-x86_64/texlive.install (from rev 194648, asymptote/trunk/texlive.install)
===================================================================
--- staging-x86_64/texlive.install	                        (rev 0)
+++ staging-x86_64/texlive.install	2013-09-20 06:58:42 UTC (rev 194649)
@@ -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