[arch-commits] Commit in (6 files)
Alexander Rødseth
arodseth at archlinux.org
Mon May 28 15:54:22 UTC 2018
Date: Monday, May 28, 2018 @ 15:54:21
Author: arodseth
Revision: 332742
Add polyml from AUR
21 votes on AUR
Added:
polyml/
polyml/repos/
polyml/repos/community-x86_64/
polyml/trunk/
polyml/trunk/PKGBUILD
polyml/trunk/polyml.install
----------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
polyml.install | 7 +++++++
2 files changed, 47 insertions(+)
Added: polyml/trunk/PKGBUILD
===================================================================
--- polyml/trunk/PKGBUILD (rev 0)
+++ polyml/trunk/PKGBUILD 2018-05-28 15:54:21 UTC (rev 332742)
@@ -0,0 +1,40 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Mort Yao <soi at mort.ninja>
+# Contributor: Alex Merry <dev at randomguy3.me.uk>
+
+pkgname=polyml
+pkgver=5.7.1
+pkgrel=2
+pkgdesc='Full implementation of Standard ML (SML)'
+arch=('x86_64')
+url='https://polyml.org/'
+license=('LGPL')
+conflicts=('mesa-demo') # /usr/bin/poly
+options=('!libtool')
+depends=('gmp' 'libffi')
+install=polyml.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('d18dd824b426edaed1cec71dded354b57df9ebdbd38863bc7540a60bd0667028')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --without-x \
+ --with-system-libffi \
+ --with-gmp \
+ --enable-shared
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" -k check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# getver: polyml.org
+# vim: ts=2 sw=2 et:
Added: polyml/trunk/polyml.install
===================================================================
--- polyml/trunk/polyml.install (rev 0)
+++ polyml/trunk/polyml.install 2018-05-28 15:54:21 UTC (rev 332742)
@@ -0,0 +1,7 @@
+post_upgrade() {
+ cat << EOF
+If you compile executables using Poly/ML, you should use
+the new polyc script, as this automatically passes the
+correct libraries to the linker.
+EOF
+}
More information about the arch-commits
mailing list