[arch-commits] Commit in mlton/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 25 14:33:49 UTC 2020
Date: Monday, May 25, 2020 @ 14:33:48
Author: felixonmars
Revision: 634399
archrelease: copy trunk to community-x86_64
Added:
mlton/repos/community-x86_64/PKGBUILD
(from rev 634398, mlton/trunk/PKGBUILD)
Deleted:
mlton/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 115 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-25 14:33:32 UTC (rev 634398)
+++ PKGBUILD 2020-05-25 14:33:48 UTC (rev 634399)
@@ -1,58 +0,0 @@
-# $Id$
-# 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=20180207
-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
-}
-
-# getver: no
-# vim: ts=2 sw=2 et:
Copied: mlton/repos/community-x86_64/PKGBUILD (from rev 634398, mlton/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-25 14:33:48 UTC (rev 634399)
@@ -0,0 +1,57 @@
+# 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=20180207
+pkgrel=2
+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
+}
+
+# getver: no
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list