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

Rémy Oudompheng remy at archlinux.org
Sun Aug 22 13:24:42 EDT 2010


    Date: Sunday, August 22, 2010 @ 13:24:42
  Author: remy
Revision: 88343

upgpkg: asymptote 2.04-2
Rebuild for python2.

Modified:
  asymptote/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-22 15:40:33 UTC (rev 88342)
+++ PKGBUILD	2010-08-22 17:24:42 UTC (rev 88343)
@@ -4,14 +4,14 @@
 
 pkgname=asymptote
 pkgver=2.04
-pkgrel=1
+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' 'gsl' 'fftw')
 makedepends=('ghostscript' 'imagemagick')
-optdepends=('python:           for the xasy GUI'
+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)
@@ -29,7 +29,7 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install-all || return 1
-  # sed -i -e 's at env python at env python2@' ${pkgdir}/usr/share/asymptote/GUI/*.py
+  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
 }



More information about the arch-commits mailing list