summaryrefslogtreecommitdiff
path: root/experimental/mono/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/mono/APKBUILD')
-rw-r--r--experimental/mono/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/experimental/mono/APKBUILD b/experimental/mono/APKBUILD
new file mode 100644
index 000000000..f08b0d52e
--- /dev/null
+++ b/experimental/mono/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor:
+# Maintainer:
+pkgname=mono
+pkgver=6.8.0.123
+pkgrel=0
+pkgdesc="Free, open-source .NET implementation"
+url="https://www.mono-project.com"
+arch="all"
+license="MIT AND BSD-3-Clause AND (Apache-2.0 OR MPL-2.0) AND GPL-2.0-only WITH Classpath-Exception-2.0 AND Apache-2.0 AND MPL-1.1 AND MS-PL AND Info-ZIP"
+depends=""
+makedepends="cmake python3 curl"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.mono-project.com/sources/mono/mono-$pkgver.tar.xz
+ https://distfiles.apkfission.net/src/mono-$pkgver-missing.tar.xz
+ musl-ppc.patch
+ ppc32.patch
+ deadlock.patch
+ python.patch"
+builddir="$srcdir/mono-$pkgver"
+
+build() {
+ CFLAGS="-DMUSL" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-boehm \
+ --without-sigaltstack
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f702d1ee3a7e8b1a028de02fe6f3ab78e1c5171a547c37db7e934c33533984f2847636476407ad46daeb150640136d6bb28c12c9482c1806997df2dfd7a839f1 mono-6.8.0.123.tar.xz
+f83c3713ee5070f40d97cd99c67b52ac5f17e594da27ab15b31929216e22745b666553de27c3882b17ed29ee33adb76f8ca31c0b29e4c1138cd1c2a3daaa6673 mono-6.8.0.123-missing.tar.xz
+fd042a4dcef2c5bb6e04799b7a6e6710b667d5cf37fa20f8562787c1f0aafc2a796f03464cb6df0ae2f2b0a14c39aa7cde887abdd2367bda0a11e371f0907606 musl-ppc.patch
+f4021ce74581d7e30d07aede96125972d53c9b184de978bffbf4761fadb925761d2464d2dadc52c9ae7485567675d8093442cb45b2237b3ca8d095ed041c5b49 ppc32.patch
+69add646494d0b041cce2eb3d1be479e14f917aa74ac284b3c0623969dd3103debe01484aabcf2367ebdd92e13841c2fd3bc0ab452629e8c6593e82c441eb698 deadlock.patch
+5c31c52ee8496e188019c7f24b9797b6bdf3cd48b484d6b6c58496d71836d41e52d1ebfc627d135170b340b3e2791ca046ac22df0898599f0bb7ea00c24e746d python.patch"