[arch-commits] Commit in (4 files)

François Charette francois at archlinux.org
Sun Aug 2 10:03:00 UTC 2009


    Date: Sunday, August 2, 2009 @ 06:03:00
  Author: francois
Revision: 48479

new pkg asymptote

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

-----------------+
 PKGBUILD        |   24 ++++++++++++++++++++++++
 texlive.install |   13 +++++++++++++
 2 files changed, 37 insertions(+)

Added: asymptote/trunk/PKGBUILD
===================================================================
--- asymptote/trunk/PKGBUILD	                        (rev 0)
+++ asymptote/trunk/PKGBUILD	2009-08-02 10:03:00 UTC (rev 48479)
@@ -0,0 +1,24 @@
+# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+pkgname=asymptote
+pkgver=1.82
+pkgrel=2
+pkgdesc="A vector graphics language (like metapost)"
+arch=('i686' 'x86_64')
+url="http://asymptote.sourceforge.net/"
+license=("GPL3")
+depends=('texlive-core' 'gc')
+makedepends=('freeglut' 'gsl' 'fftw')
+optdepends=('For the xasy GUI:    python, pil, tix')
+source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
+install="texlive.install"
+md5sums=('0960360e00e8a1a6b84acb70f623ca72')
+
+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 || return 1
+  make asy || return 1
+  make DESTDIR=$pkgdir install-asy || return 1
+}

Added: asymptote/trunk/texlive.install
===================================================================
--- asymptote/trunk/texlive.install	                        (rev 0)
+++ asymptote/trunk/texlive.install	2009-08-02 10:03:00 UTC (rev 48479)
@@ -0,0 +1,13 @@
+post_install() {
+	echo    ">>> texlive: updating the filename database..."
+	mktexlsr --quiet /usr/share/texmf
+}
+
+post_upgrade() {
+  post_install
+}
+
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list