diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | rustadmin | 12 | ||||
-rw-r--r-- | rustadmin.desktop | 9 | ||||
-rw-r--r-- | rustadmin.install | 12 | ||||
-rw-r--r-- | rustadmin.png | bin | 0 -> 15151 bytes |
6 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cba9a411b3d6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = rustadmin + pkgdesc = Graphical configuration tool for Rust servers. + pkgver = 02042016.210010 + pkgrel = 1 + url = https://rustadmin.com/ + install = rustadmin.install + arch = x86_64 + arch = i686 + license = custom + depends = wine + source = http://rustadmin.com/release/RustAdminRelease.zip + source = rustadmin.desktop + source = rustadmin.png + source = rustadmin + sha256sums = 3db053609ea00110010429caa1322f0de0e35b408401c2fbf9a50271dbcc6046 + sha256sums = d0d70c438085d8ee2efa0f773a271f606b8299495dd84ac399cc136285a108d4 + sha256sums = 52ee3c5bc7f3b248ef160cdb736407c46c316a1d57a7aa9e88e0953630a2f626 + sha256sums = 6fd706b76017ccba3708706c7602360f0de0d533dff83ecbbace1765a8eefb02 + +pkgname = rustadmin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd5774cf964c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Nysepho Andar <write / nysepho.pw> + +pkgname=rustadmin +pkgver=02042016.210010 +pkgrel=1 +pkgdesc="Graphical configuration tool for Rust servers." +url="https://rustadmin.com/" +arch=('x86_64' 'i686') +license=('custom') +depends=('wine') +install=${pkgname}.install +source=("http://rustadmin.com/release/RustAdminRelease.zip" + "${pkgname}.desktop" + "${pkgname}.png" + "${pkgname}") + +sha256sums=('3db053609ea00110010429caa1322f0de0e35b408401c2fbf9a50271dbcc6046' + 'd0d70c438085d8ee2efa0f773a271f606b8299495dd84ac399cc136285a108d4' + '52ee3c5bc7f3b248ef160cdb736407c46c316a1d57a7aa9e88e0953630a2f626' + '6fd706b76017ccba3708706c7602360f0de0d533dff83ecbbace1765a8eefb02') +package() { + mkdir -p "$pkgdir/usr/share/" + cp -r "${srcdir}/RustAdminRelease" "${pkgdir}/usr/share/${pkgname}" + install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm655 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm655 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} diff --git a/rustadmin b/rustadmin new file mode 100644 index 000000000000..f8b6b7c880fb --- /dev/null +++ b/rustadmin @@ -0,0 +1,12 @@ +#!/bin/bash +export WINEPREFIX="$HOME"/.rustadmin/wine +export WINEARCH=win64 +export WINEDLLOVERRIDES="mscoree=" # disable mono +export WINEDEBUG=-all +if [ ! -d "$HOME"/.rustadmin ] ; then + mkdir -p "$HOME"/.rustadmin/wine + wineboot -u + cp -r /usr/share/rustadmin "$HOME"/.rustadmin +fi + +wine "$HOME"/.rustadmin/rustadmin/RustAdmin.exe "$@" diff --git a/rustadmin.desktop b/rustadmin.desktop new file mode 100644 index 000000000000..bd006632e5c0 --- /dev/null +++ b/rustadmin.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Version=02042016.210010 +Name=RustAdmin +Comment=Graphical administration tool for Rust servers. +Exec=/usr/bin/rustadmin +Icon=/usr/share/pixmaps/rustadmin.png +Terminal=false +Categories=Utility diff --git a/rustadmin.install b/rustadmin.install new file mode 100644 index 000000000000..269ab2aefa3e --- /dev/null +++ b/rustadmin.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file diff --git a/rustadmin.png b/rustadmin.png Binary files differnew file mode 100644 index 000000000000..6016f3567e7d --- /dev/null +++ b/rustadmin.png |