[arch-commits] Commit in asymptote/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Mar 22 12:53:58 UTC 2020
Date: Sunday, March 22, 2020 @ 12:53:57
Author: arojas
Revision: 378329
archrelease: copy trunk to extra-x86_64
Added:
asymptote/repos/extra-x86_64/PKGBUILD
(from rev 378328, asymptote/trunk/PKGBUILD)
Deleted:
asymptote/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-22 12:53:16 UTC (rev 378328)
+++ PKGBUILD 2020-03-22 12:53:57 UTC (rev 378329)
@@ -1,61 +0,0 @@
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-# Contributor: Firmicus <francois.archlinux.org>
-# Contributor: bender02 at gmx dot com
-
-pkgname=asymptote
-pkgver=2.61
-pkgrel=1
-pkgdesc="A vector graphics language (like metapost)"
-arch=('x86_64')
-url="http://asymptote.sourceforge.net/"
-license=("GPL3")
-depends=('texlive-core' 'gc' 'freeglut' 'gsl' 'fftw' 'libsigsegv')
-makedepends=('ghostscript' 'imagemagick'
- 'mesa' # For OpenGL headers
- 'texlive-plainextra' # For texinfo
- 'python-pyqt5' # For xasy GUI generation
- 'glm'
- 'glu')
-optdepends=('python-pyqt5: for the xasy GUI'
- 'python-cson: for the xasy GUI')
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz")
-sha1sums=('3f9efe2eb59324d89109f6a8cf3148d3d6beef6b')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./autogen.sh
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- export CXXFLAGS+=" -I${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
- # this dir contains png files that are already embedded in the pdf documentation:
- rm -rf "${pkgdir}/usr/share/info/asymptote"
-
- # copy some data files to their correct location
- mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
- cp "$pkgdir"/usr/share/asymptote/*.el "$pkgdir"/usr/share/emacs/site-lisp
- mkdir -p "$pkgdir"/usr/share/vim/vimfiles/syntax
- cp "$pkgdir"/usr/share/asymptote/*.vim "$pkgdir"/usr/share/vim/vimfiles/syntax
- mkdir -p "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
- cd "$pkgdir"/usr/share/asymptote/
- sh asy-kate.sh
- mv asymptote.xml "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
-}
Copied: asymptote/repos/extra-x86_64/PKGBUILD (from rev 378328, asymptote/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-22 12:53:57 UTC (rev 378329)
@@ -0,0 +1,61 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=asymptote
+pkgver=2.64
+pkgrel=1
+pkgdesc="A vector graphics language (like metapost)"
+arch=('x86_64')
+url="http://asymptote.sourceforge.net/"
+license=("GPL3")
+depends=('texlive-core' 'gc' 'freeglut' 'gsl' 'fftw' 'libsigsegv')
+makedepends=('ghostscript' 'imagemagick'
+ 'mesa' # For OpenGL headers
+ 'texlive-plainextra' # For texinfo
+ 'python-pyqt5' # For xasy GUI generation
+ 'glm'
+ 'glu')
+optdepends=('python-pyqt5: for the xasy GUI'
+ 'python-cson: for the xasy GUI')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz")
+sha1sums=('76ccecc7e785f804a97c8e5af190283c0dc336ad')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export CXXFLAGS+=" -I${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
+ # this dir contains png files that are already embedded in the pdf documentation:
+ rm -rf "${pkgdir}/usr/share/info/asymptote"
+
+ # copy some data files to their correct location
+ mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
+ cp "$pkgdir"/usr/share/asymptote/*.el "$pkgdir"/usr/share/emacs/site-lisp
+ mkdir -p "$pkgdir"/usr/share/vim/vimfiles/syntax
+ cp "$pkgdir"/usr/share/asymptote/*.vim "$pkgdir"/usr/share/vim/vimfiles/syntax
+ mkdir -p "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
+ cd "$pkgdir"/usr/share/asymptote/
+ sh asy-kate.sh
+ mv asymptote.xml "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax
+}
More information about the arch-commits
mailing list