summarylogtreecommitdiffstats
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
parenta6d05f19464e8dd6388a07121656e3d955e8d53a (diff)
downloadaur-5e8ecb7c998b97020d4761f6050138e5cb74a596.tar.gz
Updated pkgrel to 3
* Removed dependency on specific dotnet.
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD10
3 files changed, 8 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8687e449adc..eeda4b7b4d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = roslynpad
pkgdesc = A cross-platform C# editor based on Roslyn and AvalonEdit
pkgver = 15.1
- pkgrel = 1
+ pkgrel = 2
url = https://roslynpad.net/
arch = any
license = Apache
- makedepends = dotnet-sdk>=3.1
- depends = dotnet-runtime>=3.1
+ makedepends = dotnet-sdk
+ depends = dotnet-runtime
depends = desktop-file-utils
source = https://github.com/aelij/RoslynPad/archive/15.1.tar.gz
source = config_path.patch
diff --git a/.gitignore b/.gitignore
index 677c5472aa7..ae10921cf58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,5 @@
src
pkg
-RoslynPad.png
-RoslynPadNetCore.zip
-
-*.pkg.tar.xz
+*.pkg.tar.zst
*.tar.gz
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() {