summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aab96f3e6ae..da126ef245a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = msbuild
pkgdesc = Xamarin implementation of the Microsoft build system
pkgver = 16.0+xamarinxplat.2019.04.08.19.19
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mono/msbuild
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 579fd9ee7fe..62087cd7e6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: jtmb <packaging at technologicalwizardry dot com>
pkgname=msbuild
pkgver=16.0+xamarinxplat.2019.04.08.19.19
-pkgrel=1
+pkgrel=2
pkgdesc="Xamarin implementation of the Microsoft build system"
arch=('x86_64')
depends=('mono>=5.0.0')
@@ -25,4 +25,7 @@ package() {
cd "${pkgname}-${pkgver%+*}"
make
./install-mono-prefix.sh "/usr" /p:StagingDir="${pkgdir}/usr" /p:TargetMSBuildToolsVersion="15.0"
+ find $pkgdir/usr/lib/mono/ -name Microsoft.DiaSymReader.Native.*dll -delete
+ find $pkgdir/usr/lib/mono/ -name *.dylib -delete
+ rm -rf $pkgdir/usr/lib/mono/msbuild/15.0/bin/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver
}