1 # Maintainer: Scott Olson <scott@scott-olson.org>
6 pkgdesc="An ooc compiler written in ooc"
9 url="http://ooc-lang.org/"
10 source=("http://github.com/downloads/nddrylliog/${pkgname}/${pkgname}-${pkgver}-source.tar.bz2")
14 cd "${srcdir}/${pkgname}-${pkgver}-source"
17 install -d "$pkgdir/opt/$pkgname/bin"
18 cp -rt "$pkgdir/opt/$pkgname" sdk libs
19 install bin/rock "$pkgdir/opt/$pkgname/bin"
21 install -d "$pkgdir/usr/bin"
22 echo 'ROCK_DIST=/opt/rock /opt/rock/bin/rock "$@"' > "$pkgdir/usr/bin/rock"
23 chmod +x "$pkgdir/usr/bin/rock"
25 install -D LICENSE "$pkgdir/usr/share/licenses/rock/LICENSE"
27 md5sums=('66c35a7d9271732790f08a4839cee287')