blob: e1a639f1928e09d7119da5e40151cabc38e02bc2 (
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
|
# Maintainer: Cooper Pierce <cppierce@andrew.cmu.edu>
pkgname=smlpkg
_reponame="${pkgname}"
pkgver=0.1.5
pkgrel=1
pkgdesc="Generic package manager for Standard ML libraries and programs"
url="https://github.com/diku-dk/smlpkg"
arch=('x86_64')
license=('MIT')
makedepends=('make' 'mlton')
source=("${_reponame}-$pkgver.tgz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('c93d37db6566dd3948a3d59d57792de8')
build() {
cd "${_reponame}-${pkgver}"
MLCOMP=mlton make all
}
package() {
cd "${_reponame}-${pkgver}"
make install prefix="${pkgdir}/usr"
}
check() {
cd "${_reponame}-${pkgver}"
MLCOMP=mlton make -C src test
}
|