summaryrefslogtreecommitdiff
path: root/extra/boo/PKGBUILD
blob: b9fcee6894b78249f56821f343f746ece377b490 (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
30
31
32
33
34
# $Id: PKGBUILD 110402 2011-02-19 07:26:29Z eric $
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: tardo <tardo@nagi-fanboi.net>
# Contributor: Brice Carpentier <brice@dlfp.org>

pkgname=boo
pkgver=0.9.4.9
pkgrel=1
pkgdesc="A wrist friendly language for the CLI"
arch=('i686' 'x86_64')
url="http://boo.codehaus.org/"
license=('GPL')
depends=('sh' 'mono' 'shared-mime-info')
options=('!makeflags')
install=boo.install
source=(http://dist.codehaus.org/boo/distributions/${pkgname}-${pkgver}.tar.gz)
md5sums=('e8b04c63d4c983f82e8a2b2d49115c80')
sha1sums=('fdd0f91ae1b2917d83fc8fa7f4610e3c22c06bf9')

build() {
  export MONO_SHARED_DIR="${srcdir}/.wabi"
  mkdir -p $MONO_SHARED_DIR
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's|/lib|/lib/mono|' extras/boo.pc.in
  ./configure --prefix=/usr --libdir=/usr/lib
  make VERBOSE=1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  rm -rf "${pkgdir}/share/"
  rm -rf "${pkgdir}/usr/share/gtksourceview-1.0/language-specs/boo.lang"
}