updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ironpython / PKGBUILD
blobcbd4cdbf7eab54df82dc28356d9fab3a4ae81d80
1 # Maintainer: Di "thc_flow" Abel <nospam@weedsmoker.im>
2 pkgname=ironpython
3 pkgver=2.7
4 pkgrel=1
5 pkgdesc="IronPython"
6 arch=("any")
7 url="http://ironpython.net"
8 license=("APACHE")
9 depends=('mono>=2.10.0')
10 makedepends=('xz')
11 options=('!strip' 'emptydirs' 'libtool')
12 source=(http://files.weedsmoker.im/devel/aur/$pkgname-$pkgver.txz)
13 md5sums=('9e13061eee01e2e164bfd4a4a1262a9e')
15 build() {
16         return 0
19 package() {
20         mkdir -p "$pkgdir/opt/ipy" "$pkgdir/usr/bin"
21   cp -r $srcdir/IronPython-$pkgver/* "$pkgdir/opt/ipy"
22   for bin in ipy ipy64 ipyw ipyw64; do
23                 echo -e '#!/bin/sh\nmono /opt/ipy/$x.exe $*' > "$pkgdir/usr/bin/$bin"
24                 chmod +x "$pkgdir/usr/bin/$bin"
25         done
28 # vim:set ts=2 sw=2 et: