[arch-commits] Commit in mlton/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Aug 21 13:20:04 UTC 2020
Date: Friday, August 21, 2020 @ 13:20:04
Author: arodseth
Revision: 685979
upgpkg: mlton 20200817-1
Modified:
mlton/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-21 13:19:09 UTC (rev 685978)
+++ PKGBUILD 2020-08-21 13:20:04 UTC (rev 685979)
@@ -5,15 +5,15 @@
# Contributor: Brian De Wolf <arch at bldewolf.com>
pkgname=mlton
-pkgver=20180207
-pkgrel=2
+pkgver=20200817
+pkgrel=1
pkgdesc='Whole-program, optimizing Standard ML compiler'
-arch=('x86_64')
+arch=(x86_64)
url='http://mlton.org/'
-license=('BSD' 'MIT' 'LGPL')
-depends=('gmp')
-makedepends=('git' 'mlton')
-options=('staticlibs')
+license=(BSD MIT LGPL)
+depends=(gmp)
+makedepends=(git mlton)
+options=(staticlibs)
source=("git+https://github.com/MLton/mlton#tag=on-$pkgver-release")
md5sums=('SKIP')
@@ -21,7 +21,7 @@
#makedepends_x86_64=('smlnj' 'setconf')
prepare() {
- cd "$pkgname"
+ cd $pkgname
sed 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' -i runtime/cenv.h
@@ -43,15 +43,14 @@
# make -C "$pkgname" -j1 all-no-docs
#fi
- make -C "$pkgname" -j1
+ make -C $pkgname -j1
}
package() {
- make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install
- for f in "$pkgname"/doc/license/*-LICENSE; do
+ 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