summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Maunier2019-04-17 16:54:36 +0200
committerFlorian Maunier2019-04-17 16:54:36 +0200
commiteeed7eb1e6e380adc0572850988597a1af484090 (patch)
treeaf0c13fe7fe29ddb6ea170099b9220f5e11691c9 /PKGBUILD
parente968d46b9d7066badaf86cd8b2de085ca0098be4 (diff)
downloadaur-eeed7eb1e6e380adc0572850988597a1af484090.tar.gz
Remove unnecessary files
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
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
}