blob: 646c350502eb9498c47ce574b7ddc4ee47386f47 (
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
|
# Maintainer: Cooper Pierce <cppierce@andrew.cmu.edu>
pkgname=cmlex
_reponame=cmtool
pkgver=2.1
pkgrel=2
pkgdesc="A lexer generator for Standard ML, OCaml, and Haskell"
url="https://www.cs.cmu.edu/~crary/cmtool/"
arch=('x86_64')
license=('MIT')
depends=('gmp')
makedepends=('make' 'mlton')
source=("${_reponame}-$pkgver.tgz::${url}/${_reponame}-${pkgver}.tgz")
md5sums=('9c7f1c384b9ba5008ce2d5b0e769c669')
build() {
cd "${_reponame}"
cd lex
make mlton
}
package() {
cd "${_reponame}"
install -Dm755 lex/bin/cmlex "${pkgdir}/usr/bin/cmlex"
}
|