summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichał Przybyś2020-11-29 10:38:16 +0100
committerMichał Przybyś2020-11-29 10:38:16 +0100
commit5e8ecb7c998b97020d4761f6050138e5cb74a596 (patch)
treedde46f27975ee16de4a89b6294b9574f973dcbef /PKGBUILD
parenta6d05f19464e8dd6388a07121656e3d955e8d53a (diff)
downloadaur-roslynpad.tar.gz
Updated pkgrel to 3
* Removed dependency on specific dotnet.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 882c41b6199..f5cd057405b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,14 @@
# Maintainer: Michał Przybyś <michal@przybys.eu>
-_sdk=3.1
pkgname=roslynpad
pkgver=15.1
-pkgrel=1
+pkgrel=2
pkgdesc='A cross-platform C# editor based on Roslyn and AvalonEdit'
arch=(any)
url='https://roslynpad.net/'
license=(Apache)
-depends=("dotnet-runtime>=${_sdk}"
+depends=("dotnet-runtime"
desktop-file-utils)
-makedepends=("dotnet-sdk>=${_sdk}")
+makedepends=("dotnet-sdk")
source=("https://github.com/aelij/RoslynPad/archive/${pkgver}.tar.gz"
config_path.patch
roslynpad
@@ -24,7 +23,6 @@ md5sums=(e39bab8bfafb9a27ef5edf3602793234
prepare() {
cd "${srcdir}/RoslynPad-${pkgver}"
rm global.json
- dotnet new globaljson --force --sdk-version "$(dotnet --list-sdks | grep "${_sdk/./\.}" | tail -1 | awk '{ print $1 }')"
cd "${srcdir}/RoslynPad-${pkgver}/src"
patch -Np1 -i "${srcdir}/config_path.patch"
@@ -33,7 +31,7 @@ prepare() {
build() {
cd "${srcdir}/RoslynPad-${pkgver}/src/RoslynPad.Avalonia"
- dotnet build -c Release /p:DebugType=None
+ dotnet build -c Release /p:DebugType=None /p:TreatWarningsAsErrors=False
}
package() {