[arch-commits] Commit in mlton/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Wed Aug 25 12:10:22 UTC 2021
Date: Wednesday, August 25, 2021 @ 12:10:22
Author: arodseth
Revision: 1004709
archrelease: copy trunk to community-x86_64
Added:
mlton/repos/community-x86_64/PKGBUILD
(from rev 1004708, mlton/trunk/PKGBUILD)
Deleted:
mlton/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-25 12:10:14 UTC (rev 1004708)
+++ PKGBUILD 2021-08-25 12:10:22 UTC (rev 1004709)
@@ -1,56 +0,0 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Michael Koloberdin <koloberdin at gmail.com>
-# Contributor: tochiro at no.spam.mail.berlios.de
-# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
-# Contributor: Brian De Wolf <arch at bldewolf.com>
-
-pkgname=mlton
-pkgver=20200817
-pkgrel=1
-pkgdesc='Whole-program, optimizing Standard ML compiler'
-arch=(x86_64)
-url='http://mlton.org/'
-license=(BSD MIT LGPL)
-depends=(gmp)
-makedepends=(git mlton)
-options=(staticlibs)
-source=("git+https://github.com/MLton/mlton#tag=on-$pkgver-release")
-md5sums=('SKIP')
-
-# Make dependencies for bootstrapping mlton on x86_64:
-#makedepends_x86_64=('smlnj' 'setconf')
-
-prepare() {
- cd $pkgname
-
- sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h
-
- # For bootstrapping mlton on x86_64
- #if [ $CARCH = 'x86_64' ]; then
- # find . -name Makefile -type f -exec setconf {} CFLAGS "$CFLAGS -fPIC" \;
- #fi
-}
-
-build() {
- export CFLAGS="$CFLAGS -fPIC"
- export COMPILE_ARGS="-codegen c -cc-opt '-fPIC'"
-
- # For bootstrapping mlton on x86_64
- #if [ "$CARCH" = 'x86_64' ]; then
- # # Bootstrap with SML-NJ on x86_64
- # make -C "$pkgname" -j1 smlnj-mlton all-no-docs
- #else
- # make -C "$pkgname" -j1 all-no-docs
- #fi
-
- make -C $pkgname -j1
-}
-
-package() {
- make -C $pkgname PREFIX=/usr DESTDIR="$pkgdir" install
- for f in $pkgname/doc/license/*-LICENSE; do
- install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
- done
-}
-
-# vim: ts=2 sw=2 et:
Copied: mlton/repos/community-x86_64/PKGBUILD (from rev 1004708, mlton/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-25 12:10:22 UTC (rev 1004709)
@@ -0,0 +1,55 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Michael Koloberdin <koloberdin at gmail.com>
+# Contributor: tochiro at no.spam.mail.berlios.de
+# Contributor: Andreas W. Hauser <andy-aur at splashground.de>
+# Contributor: Brian De Wolf <arch at bldewolf.com>
+
+pkgname=mlton
+pkgver=20210117
+pkgrel=1
+pkgdesc='Whole-program, optimizing Standard ML compiler'
+arch=(x86_64)
+# no HTTPS available
+url='http://mlton.org/'
+license=(BSD LGPL MIT)
+depends=(gmp)
+makedepends=(git mlton)
+options=(staticlibs)
+source=("git+https://github.com/MLton/mlton#tag=on-$pkgver-release")
+b2sums=('SKIP')
+
+# Make dependencies for bootstrapping mlton on x86_64:
+#makedepends_x86_64=('smlnj' 'setconf')
+
+prepare() {
+ cd $pkgname
+
+ sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h
+
+ # For bootstrapping mlton on x86_64
+ #if [ $CARCH = 'x86_64' ]; then
+ # find . -name Makefile -type f -exec setconf {} CFLAGS "$CFLAGS -fPIC" \;
+ #fi
+}
+
+build() {
+ export CFLAGS="$CFLAGS -fPIC"
+ export COMPILE_ARGS="-codegen c -cc-opt '-fPIC'"
+
+ # For bootstrapping mlton on x86_64
+ #if [ "$CARCH" = 'x86_64' ]; then
+ # # Bootstrap with SML-NJ on x86_64
+ # make -C "$pkgname" -j1 smlnj-mlton all-no-docs
+ #else
+ # make -C "$pkgname" -j1 all-no-docs
+ #fi
+
+ make -C $pkgname -j1
+}
+
+package() {
+ make -C $pkgname PREFIX=/usr DESTDIR="$pkgdir" install
+ for f in $pkgname/doc/license/*-LICENSE; do
+ install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f"
+ done
+}
More information about the arch-commits
mailing list