# $Id: PKGBUILD 149305 2012-02-06 18:30:33Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=orc
pkgver=0.4.16
pkgrel=1
pkgdesc="The Oild Runtime Compiler"
arch=('i686' 'x86_64')
license=('custom')
url="http://code.entropywave.com/projects/orc/"
depends=('glibc')
options=('!libtool')
source=(http://code.entropywave.com/download/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('e482932e544c847761449b106ecbc483')

build () {
    cd "$srcdir/$pkgname-$pkgver"
    ./configure --prefix=/usr --disable-static
    make
}

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