summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0da45dd1ab0b71a4b724c3d6d84ed110afd6872 (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=cmyacc
_reponame=cmtool
pkgver=2.1
pkgrel=2
pkgdesc="A parser 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 yacc
    make mlton
}

package() {
    cd "${_reponame}"
    install -Dm755 yacc/bin/cmyacc "${pkgdir}/usr/bin/cmyacc"
}