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

François Charette francois at archlinux.org
Wed Jun 30 12:09:08 UTC 2010


    Date: Wednesday, June 30, 2010 @ 08:09:07
  Author: francois
Revision: 84484

upgpkg: asymptote 2.00-1
update to 2.00; include documentation

Modified:
  asymptote/trunk/PKGBUILD
  asymptote/trunk/texlive.install

-----------------+
 PKGBUILD        |   18 ++++++++++++------
 texlive.install |    2 +-
 2 files changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-30 11:42:55 UTC (rev 84483)
+++ PKGBUILD	2010-06-30 12:09:07 UTC (rev 84484)
@@ -3,19 +3,19 @@
 # Contributor: bender02 at gmx dot com
 
 pkgname=asymptote
-pkgver=1.91
+pkgver=2.00
 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' 'gsl' 'fftw')
+makedepends=('ghostscript' 'imagemagick')
 optdepends=('python: for the xasy GUI'
-            'pil:     "'
-            'tix:     "')
+            'pil:    for the xasy GUI'
+            'tix:    for the xasy GUI')
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz)
 install=texlive.install
-md5sums=('13e6a6ac56bf10841420e1dfa4a6e398')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -24,6 +24,12 @@
               --prefix=/usr \
               --with-latex=/usr/share/texmf/tex/latex \
               --with-context=/usr/share/texmf/tex/context || return 1
-  make asy || return 1
-  make DESTDIR="${pkgdir}" install-asy || return 1
+  make all || return 1
 }
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install-all || return 1
+  # this dir contains png files that are already embedded in the pdf documentation:
+  rm -rf ${pkgdir}/usr/share/info/asymptote
+}
+md5sums=('3db1b45502e0733029deaa8a971a4a70')

Modified: texlive.install
===================================================================
--- texlive.install	2010-06-30 11:42:55 UTC (rev 84483)
+++ texlive.install	2010-06-30 12:09:07 UTC (rev 84484)
@@ -1,5 +1,5 @@
 post_install() {
-	echo    ">>> texlive: updating the filename database..."
+	echo    ">>> updating the filename database for texlive..."
 	mktexlsr --quiet /usr/share/texmf
 }
 




More information about the arch-commits mailing list