Date: Thursday, August 10, 2017 @ 11:04:52 Author: arodseth Revision: 249709
archrelease: copy trunk to community-x86_64, community-i686 Added: mlton/repos/community-i686/PKGBUILD (from rev 249708, mlton/trunk/PKGBUILD) mlton/repos/community-x86_64/PKGBUILD (from rev 249708, mlton/trunk/PKGBUILD) Deleted: mlton/repos/community-i686/PKGBUILD mlton/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 110 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 50 -------------------- community-x86_64/PKGBUILD | 48 ------------------- 3 files changed, 110 insertions(+), 98 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-08-10 11:04:40 UTC (rev 249708) +++ community-i686/PKGBUILD 2017-08-10 11:04:52 UTC (rev 249709) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: mkoloberdin <m...@aprisobal.by> -# Contributor: toch...@no.spam.mail.berlios.de -# Contributor: Andreas W. Hauser <andy-...@splashground.de> -# Contributor: Brian De Wolf <a...@bldewolf.com> - -pkgname=mlton -pkgver=20170725 -pkgrel=2 -pkgdesc='Whole-program, optimizing Standard ML compiler' -arch=('x86_64' 'i686') -url='http://mlton.org/' -license=('BSD' 'MIT' 'LGPL') -depends=('gmp') -makedepends=('git' 'mlton') -makedepends_x86_64=('smlnj' 'setconf') -options=('staticlibs') -source=("git+https://github.com/MLton/mlton#commit=159190284e1268fded189104705939fe3b691b12") -md5sums=('SKIP') - -prepare() { - cd "$pkgname" - - sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h - 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'" - - 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 -} - -package() { - make -C "$pkgname" DESTDIR="$pkgdir" install-no-docs - 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-i686/PKGBUILD (from rev 249708, mlton/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-08-10 11:04:52 UTC (rev 249709) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Michael Koloberdin <kolober...@gmail.com> +# Contributor: toch...@no.spam.mail.berlios.de +# Contributor: Andreas W. Hauser <andy-...@splashground.de> +# Contributor: Brian De Wolf <a...@bldewolf.com> + +pkgname=mlton +pkgver=20170725 +pkgrel=3 +pkgdesc='Whole-program, optimizing Standard ML compiler' +arch=('x86_64' 'i686') +url='http://mlton.org/' +license=('BSD' 'MIT' 'LGPL') +depends=('gmp') +makedepends=('git' 'mlton') +#makedepends_x86_64=('smlnj' 'setconf') +options=('staticlibs') +source=("git+https://github.com/MLton/mlton#commit=159190284e1268fded189104705939fe3b691b12") +md5sums=('SKIP') + +prepare() { + cd "$pkgname" + + sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h + + # Needed 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'" + + # Needed 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 all-no-docs +} + +package() { + make -C "$pkgname" DESTDIR="$pkgdir" install-no-docs + for f in "$pkgname"/doc/license/*-LICENSE; do + install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f" + done +} + +# vim: ts=2 sw=2 et: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-08-10 11:04:40 UTC (rev 249708) +++ community-x86_64/PKGBUILD 2017-08-10 11:04:52 UTC (rev 249709) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: mkoloberdin <m...@aprisobal.by> -# Contributor: toch...@no.spam.mail.berlios.de -# Contributor: Andreas W. Hauser <andy-...@splashground.de> -# Contributor: Brian De Wolf <a...@bldewolf.com> - -pkgname=mlton -pkgver=20170725 -pkgrel=2 -pkgdesc='Whole-program, optimizing Standard ML compiler' -arch=('x86_64' 'i686') -url='http://mlton.org/' -license=('BSD' 'MIT' 'LGPL') -depends=('gmp') -makedepends=('git' 'setconf' 'mlton') -makedepends_x86_64=('smlnj') -options=('staticlibs') -source=("git+https://github.com/MLton/mlton#commit=159190284e1268fded189104705939fe3b691b12") -md5sums=('SKIP') - -prepare() { - cd "$pkgname" - - sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h - find . -name Makefile -type f -exec setconf {} CFLAGS "$CFLAGS -fPIC" \; -} - -build() { - export CFLAGS="$CFLAGS -fPIC" - export COMPILE_ARGS="-codegen c -cc-opt '-fPIC'" - - if [ $arch = '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 -} - -package() { - make -C "$pkgname" DESTDIR="$pkgdir" install-no-docs - 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 249708, mlton/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-08-10 11:04:52 UTC (rev 249709) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Michael Koloberdin <kolober...@gmail.com> +# Contributor: toch...@no.spam.mail.berlios.de +# Contributor: Andreas W. Hauser <andy-...@splashground.de> +# Contributor: Brian De Wolf <a...@bldewolf.com> + +pkgname=mlton +pkgver=20170725 +pkgrel=3 +pkgdesc='Whole-program, optimizing Standard ML compiler' +arch=('x86_64' 'i686') +url='http://mlton.org/' +license=('BSD' 'MIT' 'LGPL') +depends=('gmp') +makedepends=('git' 'mlton') +#makedepends_x86_64=('smlnj' 'setconf') +options=('staticlibs') +source=("git+https://github.com/MLton/mlton#commit=159190284e1268fded189104705939fe3b691b12") +md5sums=('SKIP') + +prepare() { + cd "$pkgname" + + sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h + + # Needed 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'" + + # Needed 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 all-no-docs +} + +package() { + make -C "$pkgname" DESTDIR="$pkgdir" install-no-docs + for f in "$pkgname"/doc/license/*-LICENSE; do + install -Dm644 "$f" "$pkgdir/usr/share/licenses/$pkgname/$f" + done +} + +# vim: ts=2 sw=2 et: