summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 044e659f07e55c6a17397ccaf8dce9dbb482d0b0 (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
# Maintainer: Samuel Tardieu <sam@rfc1149.net>

pkgname=irvm 
pkgver=0.0.4
pkgrel=1
arch=('i686' 'x86_64')
makedepends=('autoconf' 'automake' 'bison>=2.7' 'flex')
depends=('glibc')
pkgdesc="virtual machine for Andrew W. Appel's tree intermediate representation"
install=irvm.install
url="https://github.com/pablooliveira/irvm"
license=('GPL')
source=(https://github.com/pablooliveira/${pkgname}/archive/v${pkgver}.tar.gz)
sha256sums=('eb63d4497237d686ca44f8909fce01f6c906c637aa35ba248526ea521648d635')

build() {
  cd ${pkgname}-${pkgver}
  autoreconf -f -i
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}/" install
  install -D -m 644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et: