summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Hellhake2017-08-07 00:00:40 +0200
committerTim Hellhake2017-08-07 00:00:40 +0200
commit48768fe476d69d855895b08400c17a2a00336a94 (patch)
tree8e04b28ddab4f2862af1f1a4284ee0ea3c00c7d3
downloadaur-48768fe476d69d855895b08400c17a2a00336a94.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD40
-rw-r--r--rider.desktop11
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5cfc7f9d1d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = rider
+ pkgdesc = A cross-platform C# IDE by JetBrains.
+ pkgver = 2017.1
+ pkgrel = 1
+ epoch = 1
+ url = https://www.jetbrains.com/rider/
+ arch = any
+ license = Commercial
+ optdepends = mono: .NET runtime
+ optdepends = msbuild-15-bin: build .NET Core projects
+ provides = rider
+ conflicts = rider
+ options = !strip
+ source = https://download-cf.jetbrains.com/resharper/JetBrains.Rider-2017.1.tar.gz
+ source = rider.desktop
+ sha256sums = f018c9bda072adac8e83af16ee200f8a9364c2245cf71649ad1a9e05e81268ed
+ sha256sums = d039d85d40fcf03e2694d7321151984de6209596290a3d8257a6f1c3c780a5df
+
+pkgname = rider
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..529df589188
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Tim Hellhake
+
+pkgname=rider
+pkgver='2017.1'
+pkgrel=1
+epoch=1
+pkgdesc='A cross-platform C# IDE by JetBrains.'
+arch=('any')
+options=('!strip')
+url='https://www.jetbrains.com/rider/'
+license=('Commercial')
+optdepends=('mono: .NET runtime' 'msbuild-15-bin: build .NET Core projects')
+provides=('rider')
+conflicts=('rider')
+
+_installdir='/usr/share'
+_pkgdir="Rider-${pkgver}"
+_srcfile="JetBrains.Rider-${pkgver}.tar.gz"
+source=("https://download-cf.jetbrains.com/resharper/${_srcfile}"
+ 'rider.desktop')
+sha256sums=('f018c9bda072adac8e83af16ee200f8a9364c2245cf71649ad1a9e05e81268ed'
+ 'd039d85d40fcf03e2694d7321151984de6209596290a3d8257a6f1c3c780a5df')
+
+package() {
+ cd "${srcdir}"
+
+ install -d -m755 "${pkgdir}${_installdir}"
+ cp -a "$_pkgdir" "${pkgdir}${_installdir}/${pkgname}"
+ chown -R root:root "${pkgdir}${_installdir}/${pkgname}"
+
+ install -d -m755 "$pkgdir"/usr/bin
+ ln -s "${_installdir}/${pkgname}"/bin/rider.sh "${pkgdir}"/usr/bin/"${pkgname}"
+
+ install -d -m755 "$pkgdir"/usr/share/applications
+ sed -i "s#Version=#Version=${pkgver}#g" "${pkgname}.desktop"
+ sed -i "s#Icon=#Icon=${_installdir}/${pkgname}/bin/rider.png#g" "${pkgname}.desktop"
+ sed -i "s#Exec=#Exec=\"${_installdir}/${pkgname}/bin/rider.sh\" %f#g" "${pkgname}.desktop"
+ sed -i "s/Comment=/Comment=${pkgdesc}/g" "${pkgname}.desktop"
+ install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications"
+}
diff --git a/rider.desktop b/rider.desktop
new file mode 100644
index 00000000000..6f8a1334650
--- /dev/null
+++ b/rider.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=
+Type=Application
+Name=Rider
+Icon=
+Exec=
+Comment=
+Categories=Development;IDE;
+Terminal=false
+StartupWMClass=jetbrains-rider
+OnlyShowIn=Old;