blob: f78dc83a3e145189d9ca6b29a5d104e8ab089369 (
plain)
1 # Description: Cross platform, open source .NET framework
2 # URL: http://www.mono-project.com
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Packager: poq <jbloomfield at live dot com>
5 # Depends on: python cmake zlib
6
7 name=mono
8 version=6.4.0.198
9 release=2
10 source=(http://download.mono-project.com/sources/$name/$name-$version.tar.xz)
11 build() {
12 cd $name-$version
13 [[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
14 ./configure --prefix=/usr \
15 --mandir=/usr/share/man \
16 --with-mcs-docs=no \
17 --disable-crash-reporting \
18 --disable-nls
19 make
20 make DESTDIR=$PKG MANDIR=/usr/man install
21 rm -fr $PKG/usr/share/locale
22 find $PKG \( -iname "*README*" \
23 -o -iname "*la" \)\
24 -delete
25 }
|