blob: ca2121a8f3fc615ebf2457a1b6851dcef17c91f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Mort Yao <soi@mort.ninja>
pkgname=mlkit
pkgver=4.3.18
pkgrel=1
pkgdesc='Standard ML Compiler and Toolkit'
url='http://www.elsman.com/mlkit/'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('gmp')
makedepends=('mlton>=20170725')
source=("https://github.com/melsman/mlkit/archive/$pkgname-$pkgver.tar.gz"
Makefiledefault)
md5sums=('6974708ab6e7b04a6a4e2e2430c7c636'
'4aaf5cf417bfa1b816a14585199ec393')
prepare() {
cp Makefiledefault "mlkit-$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgname-$pkgver"
./autobuild
./configure --sysconfdir=/etc --prefix=/usr
make mlkit
make mlkit_libs
}
package() {
cd "$pkgname-$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|