Date: Sunday, June 25, 2017 @ 09:19:19 Author: arojas Revision: 299207
archrelease: copy trunk to staging-i686, staging-x86_64 Added: asymptote/repos/staging-i686/ asymptote/repos/staging-i686/PKGBUILD (from rev 299206, asymptote/trunk/PKGBUILD) asymptote/repos/staging-x86_64/ asymptote/repos/staging-x86_64/PKGBUILD (from rev 299206, asymptote/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) Copied: asymptote/repos/staging-i686/PKGBUILD (from rev 299206, asymptote/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-06-25 09:19:19 UTC (rev 299207) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.41 +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' + '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") +sha1sums=('ee33febaab5b42e0f04375f4a40512102d01a1d5') + +prepare() { + # Disable test that fails in chroot, but works locally + rm $pkgname-$pkgver/tests/gs/ghostscript.asy && touch $pkgname-$pkgver/tests/gs/ghostscript.asy +} + +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@env python@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/PKGBUILD (from rev 299206, asymptote/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-06-25 09:19:19 UTC (rev 299207) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.41 +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' + '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") +sha1sums=('ee33febaab5b42e0f04375f4a40512102d01a1d5') + +prepare() { + # Disable test that fails in chroot, but works locally + rm $pkgname-$pkgver/tests/gs/ghostscript.asy && touch $pkgname-$pkgver/tests/gs/ghostscript.asy +} + +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@env python@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 +}