contrib/mono/Pkgfile

32 lines
791 B
Plaintext
Raw Permalink Normal View History

2019-08-04 16:15:55 +02:00
# Description: Cross platform, open source .NET framework
# URL: https://www.mono-project.com
2019-08-04 16:15:55 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2023-07-29 22:51:15 +02:00
# Depends on:
2019-08-04 16:15:55 +02:00
name=mono
2023-07-29 22:51:15 +02:00
version=6.12.0.205
2019-12-20 21:58:16 +01:00
release=1
2022-05-26 23:11:06 +02:00
source=(https://download.mono-project.com/sources/$name/preview/$name-$version.tar.xz)
2019-12-20 21:58:16 +01:00
2019-08-04 16:15:55 +02:00
build() {
cd $name-$version
2022-05-26 23:11:06 +02:00
2019-09-27 19:30:20 +02:00
[[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
2022-05-26 23:11:06 +02:00
CFLAGS+=" -ffat-lto-objects" \
2019-08-04 16:15:55 +02:00
./configure --prefix=/usr \
--mandir=/usr/share/man \
2022-05-26 23:11:06 +02:00
--enable-ninja \
2019-08-04 16:15:55 +02:00
--with-mcs-docs=no \
--disable-crash-reporting \
--disable-nls
2022-05-26 23:11:06 +02:00
2020-05-17 03:55:37 +02:00
PYTHON=/usr/bin/python3 make
2020-01-21 08:12:26 +01:00
make DESTDIR=$PKG install
2022-05-26 23:11:06 +02:00
2019-08-04 16:15:55 +02:00
rm -fr $PKG/usr/share/locale
find $PKG \( -iname "*README*" \
-o -iname "*la" \)\
-delete
2019-08-04 16:15:55 +02:00
}