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

Rémy Oudompheng remy at archlinux.org
Sun Oct 7 11:20:35 UTC 2012


    Date: Sunday, October 7, 2012 @ 07:20:35
  Author: remy
Revision: 168270

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

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

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

Copied: asymptote/repos/testing-i686/PKGBUILD (from rev 168269, asymptote/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-10-07 11:20:35 UTC (rev 168270)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.20
+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')
+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=('4c86ab71cff57a592944303b11d9bb6ec34f1cbd')
+
+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
+  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 168269, asymptote/trunk/texlive.install)
===================================================================
--- testing-i686/texlive.install	                        (rev 0)
+++ testing-i686/texlive.install	2012-10-07 11:20:35 UTC (rev 168270)
@@ -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 168269, asymptote/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-10-07 11:20:35 UTC (rev 168270)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.20
+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')
+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=('4c86ab71cff57a592944303b11d9bb6ec34f1cbd')
+
+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
+  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 168269, asymptote/trunk/texlive.install)
===================================================================
--- testing-x86_64/texlive.install	                        (rev 0)
+++ testing-x86_64/texlive.install	2012-10-07 11:20:35 UTC (rev 168270)
@@ -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