summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Przybyś2020-03-06 18:07:18 +0100
committerMichał Przybyś2020-03-06 18:07:18 +0100
commite721c4c3be2dd9e80fe4a180bde36ef13be3eab2 (patch)
tree246deab20edd16e51173bf9d7d705fbac4856109
downloadaur-e721c4c3be2dd9e80fe4a180bde36ef13be3eab2.tar.gz
Initial commit
* created PKGBUILD for version 14.1
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD29
-rw-r--r--roslynpad2
-rw-r--r--roslynpad.desktop9
-rw-r--r--roslynpad.install3
6 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3c9fa7bcf7c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = roslynpad
+ pkgdesc = A cross-platform C# editor based on Roslyn and AvalonEdit
+ pkgver = 14.1
+ pkgrel = 1
+ url = https://roslynpad.net/
+ arch = any
+ license = Apache
+ depends = dotnet-runtime-2.2
+ depends = desktop-file-utils
+ source = https://github.com/aelij/RoslynPad/releases/download/14.1/RoslynPadNetCore.zip
+ source = https://github.com/aelij/RoslynPad/raw/master/src/RoslynPad/Resources/RoslynPad.png
+ source = roslynpad
+ source = roslynpad.desktop
+ source = roslynpad.install
+ md5sums = 6a9a8acc16eee0e4aeea291e6a90dd2e
+ md5sums = 8d0506a92294de1a4d26bec0f009d015
+ md5sums = 2bbafbadd0b5f3d088ce8a248058a06f
+ md5sums = d6788321c8bf62a8b5198039dbbee2d3
+ md5sums = a91349cbede88402f0b44728ad9b443f
+
+pkgname = roslynpad
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..ec0e380cfa1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+bin
+src
+
+RoslynPad.png
+RoslynPadNetCore.zip
+
+*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..474652967f8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Michał Przybyś <michal@przybys.eu>
+pkgname=roslynpad
+pkgver=14.1
+pkgrel=1
+pkgdesc='A cross-platform C# editor based on Roslyn and AvalonEdit'
+arch=(any)
+url='https://roslynpad.net/'
+license=(Apache)
+depends=(dotnet-runtime-2.2
+ desktop-file-utils)
+source=("https://github.com/aelij/RoslynPad/releases/download/${pkgver}/RoslynPadNetCore.zip"
+ https://github.com/aelij/RoslynPad/raw/master/src/RoslynPad/Resources/RoslynPad.png
+ roslynpad
+ roslynpad.desktop
+ roslynpad.install)
+md5sums=(6a9a8acc16eee0e4aeea291e6a90dd2e
+ 8d0506a92294de1a4d26bec0f009d015
+ 2bbafbadd0b5f3d088ce8a248058a06f
+ d6788321c8bf62a8b5198039dbbee2d3
+ a91349cbede88402f0b44728ad9b443f)
+
+package() {
+ install -dm755 "${pkgdir}"/opt/roslynpad
+ cp -aR "${srcdir}"/* "${pkgdir}"/opt/roslynpad/
+
+ install -Dm777 roslynpad "${pkgdir}"/usr/bin/roslynpad
+ install -Dm644 RoslynPad.png "${pkgdir}"/usr/share/pixmaps/roslynpad.png
+ install -Dm644 roslynpad.desktop "${pkgdir}"/usr/share/applications/roslynpad.desktop
+}
diff --git a/roslynpad b/roslynpad
new file mode 100644
index 00000000000..ecaf9ba72db
--- /dev/null
+++ b/roslynpad
@@ -0,0 +1,2 @@
+#! /bin/sh
+dotnet /opt/roslynpad/RoslynPad.dll "${@}"
diff --git a/roslynpad.desktop b/roslynpad.desktop
new file mode 100644
index 00000000000..ce980c9e658
--- /dev/null
+++ b/roslynpad.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Terminal=false
+Categories=Development
+Exec=roslynpad
+Name=RoslynPad
+Icon=roslynpad
diff --git a/roslynpad.install b/roslynpad.install
new file mode 100644
index 00000000000..12e93b602f2
--- /dev/null
+++ b/roslynpad.install
@@ -0,0 +1,3 @@
+post_install() {
+ update-desktop-database -q
+}