updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / cobra / PKGBUILD
blobe8bd026b31735cfe08c7533ca46ce46b417a84c8
1 # Maintainer: Johannes Krampf <mail@johkra.de>
3 pkgname=cobra
4 _pkgname=Cobra
5 pkgver=20101018
6 _pkgver=2010-10-18
7 pkgrel=2
8 pkgdesc="the Cobra Programming Language"
9 arch=('i686' 'x86_64')
10 url="http://www.cobra-language.com/"
11 license=('MIT')
12 depends=(mono)
13 makedepends=(mono)
14 install=cobra.install
15 source=(http://cobra-language.com/downloads/informal-releases/$_pkgname-$_pkgver.tar.gz GAC.patch)
16 md5sums=('f1bebc38899db95630f292c43ee64408'
17          '1f1544bbe7a8e3abaf9ba8a72b834932')
19 build() {
20         cd $srcdir/$_pkgname-$_pkgver/Source
21         echo "$pkgdir/opt/cobra" > install-directory.text
22         patch -p0 < ../../../GAC.patch
25 package() {
26         cd $srcdir/$_pkgname-$_pkgver/Source
27         ./install-from-workspace
28         cd $pkgdir
29         sed -i "s|$pkgdir||" opt/cobra/bin/cobra
30         mkdir -p usr/bin
31         ln -s /opt/cobra/bin/cobra usr/bin/cobra