summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bruegmann2019-10-30 13:14:22 +0100
committerAlexander Bruegmann2019-10-30 13:14:22 +0100
commitfc63707267cfe827019856ef7f46a46b42e9acb7 (patch)
tree340e4911d97f6615436e00cf23959bdaebb7e890
downloadaur-fc63707267cfe827019856ef7f46a46b42e9acb7.tar.gz
initial commit v3.20, based on winbox AUR package
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD31
-rw-r--r--winbox6411
-rw-r--r--winbox64.desktop10
-rw-r--r--winbox64.install12
-rw-r--r--winbox64.pngbin0 -> 24934 bytes
6 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..48293ea8857
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = winbox64
+ pkgdesc = Mikrotik RouterOS GUI Configurator. 64-bit version for wine64
+ pkgver = 3.20
+ pkgrel = 1
+ url = http://www.mikrotik.com
+ install = winbox64.install
+ arch = x86_64
+ license = custom
+ depends = wine-x64
+ optdepends = ttf-ms-fonts: for better fonts
+ source = winbox64-3.20.exe::http://download.mikrotik.com/winbox/3.20/winbox64.exe
+ source = winbox64.desktop
+ source = winbox64.png
+ source = winbox64
+ sha256sums = 20d270bc8d71d9a56bee3548f455a16cb8853898149f85e9157bbe05c81ef37c
+ sha256sums = 3623e2531e18d3b17ce0122c88836f5d892c24e567c8844bf6b90e87167c5d13
+ sha256sums = 603eaed8dfb5b6146712c5cee801e6d77f1f45d6bd5c4b545f9f84193834d380
+ sha256sums = 935a5434c1eb82798028046e2386c36da9224910c0e843164e86ba79c8cfd88c
+
+pkgname = winbox64
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d0499639475
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Alexander Bruegmann <mail[at]abruegmann[dot]eu>
+# Contributor: Tom Hetmer <tom.hetmer / outlook.cz>
+# Contributor: Daniel Milde <daniel / milde.cz>
+
+pkgname=winbox64
+pkgver=3.20
+pkgrel=1
+pkgdesc="Mikrotik RouterOS GUI Configurator. 64-bit version for wine64"
+url="http://www.mikrotik.com"
+arch=('x86_64')
+license=('custom')
+depends=('wine-x64')
+optdepends=(
+ 'ttf-ms-fonts: for better fonts'
+)
+install=${pkgname}.install
+source=("${pkgname}-${pkgver}.exe::http://download.mikrotik.com/winbox/${pkgver}/${pkgname}.exe"
+ "${pkgname}.desktop"
+ "${pkgname}.png"
+ "${pkgname}")
+sha256sums=('20d270bc8d71d9a56bee3548f455a16cb8853898149f85e9157bbe05c81ef37c'
+ '3623e2531e18d3b17ce0122c88836f5d892c24e567c8844bf6b90e87167c5d13'
+ '603eaed8dfb5b6146712c5cee801e6d77f1f45d6bd5c4b545f9f84193834d380'
+ '935a5434c1eb82798028046e2386c36da9224910c0e843164e86ba79c8cfd88c')
+
+package() {
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}.exe" "${pkgdir}/opt/${pkgname}/${pkgname}.exe"
+ 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/winbox64 b/winbox64
new file mode 100644
index 00000000000..1983867fd75
--- /dev/null
+++ b/winbox64
@@ -0,0 +1,11 @@
+#!/bin/bash
+export WINEPREFIX="$HOME"/.winbox/wine
+export WINEARCH=win64
+export WINEDLLOVERRIDES="mscoree=" # disable mono
+export WINEDEBUG=-all
+if [ ! -d "$HOME"/.winbox ] ; then
+ mkdir -p "$HOME"/.winbox/wine
+ wineboot -u
+fi
+
+wine64 /opt/winbox64/winbox64.exe "$@"
diff --git a/winbox64.desktop b/winbox64.desktop
new file mode 100644
index 00000000000..1cfec19c823
--- /dev/null
+++ b/winbox64.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Winbox
+Comment=GUI administration for Mikrotik RouterOS
+Exec=/usr/bin/winbox64
+Icon=/usr/share/pixmaps/winbox64.png
+Terminal=false
+Categories=Utility
+StartupWMClass=winbox64.exe
diff --git a/winbox64.install b/winbox64.install
new file mode 100644
index 00000000000..269ab2aefa3
--- /dev/null
+++ b/winbox64.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/winbox64.png b/winbox64.png
new file mode 100644
index 00000000000..6d9e0c8a3f4
--- /dev/null
+++ b/winbox64.png
Binary files differ