blob: acaf1319204d6f3fa235fd14c7558b7e07c021b7 (
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.12
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=('18af7fe5a62d547d51177cb1030b9321'
'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
}
|