diff options
author | Marco98 | 2018-08-26 14:20:18 +0200 |
---|---|---|
committer | Marco98 | 2018-08-26 14:20:18 +0200 |
commit | 69a53f94020ac9a433d9273d889433a42880e632 (patch) | |
tree | 804ce8d1f45ca4f9432237c559ae4fbd46c6cac5 | |
download | aur-69a53f94020ac9a433d9273d889433a42880e632.tar.gz |
Inital commit
-rw-r--r-- | .AURINFO | 19 | ||||
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | thedude | 11 | ||||
-rw-r--r-- | thedude.desktop | 10 | ||||
-rw-r--r-- | thedude.install | 12 | ||||
-rw-r--r-- | thedude.png | bin | 0 -> 59727 bytes |
7 files changed, 110 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..6579ae2b554e --- /dev/null +++ b/.AURINFO @@ -0,0 +1,19 @@ +pkgbase = winbox + pkgdesc = Mikrotik RouterOS GUI Configurator (wine) + pkgver = 2.2.18 + pkgrel = 5 + url = http://www.mikrotik.com + install = winbox.install + arch = x86_64 + arch = i686 + license = custom + depends = wine + optdepends = ttf-ms-fonts: for better fonts + source = http://download2.mikrotik.com/winbox.exe + source = http://www.mikrotik.com/downloadterms.html + source = winbox.desktop + source = winbox.png + source = winbox + +pkgname = winbox + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0318c6a9d650 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = thedude + pkgdesc = Mikrotik The Dude network monitoring client + pkgver = 6.42.7 + pkgrel = 1 + url = http://www.mikrotik.com + install = thedude.install + arch = x86_64 + arch = i686 + license = custom + makedepends = p7zip + depends = wine + optdepends = ttf-ms-fonts: for better fonts + source = thedude-6.42.7.exe::http://download2.mikrotik.com/routeros/6.42.7/dude-install-6.42.7.exe + source = thedude.desktop + source = thedude.png + source = thedude + sha256sums = b526c5e84d56e2c01b676f2c45af487a8060c283c123ce145838c846d9947fe0 + sha256sums = 6e9ffe5ff24d286d2d719455dd52f6ddf8c5ed2ba0494c566a67555df37d5c19 + sha256sums = b2595e2c2c9980fd5a9b2a6bbd847a8cbb158a4c18e36e9002ccbec109b4eaa1 + sha256sums = 85fe839f1dd2e9f71b0cf931ad377610a1b4b324517df3d0c4a8be5e41b19646 + +pkgname = thedude + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bf1f03b0cf29 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Marco Steiger <marco1steiger (at) gmail (dot) com> +pkgname=thedude +pkgver=6.42.7 +pkgrel=1 +pkgdesc="Mikrotik The Dude network monitoring client" +url="http://www.mikrotik.com" +arch=('x86_64' 'i686') +license=('custom') +makedepends=('p7zip') +depends=('wine') +optdepends=( + 'ttf-ms-fonts: for better fonts' +) +install=${pkgname}.install +source=("${pkgname}-${pkgver}.exe::http://download2.mikrotik.com/routeros/${pkgver}/dude-install-${pkgver}.exe" + "${pkgname}.desktop" + "${pkgname}.png" + "${pkgname}") +sha256sums=('b526c5e84d56e2c01b676f2c45af487a8060c283c123ce145838c846d9947fe0' + '6e9ffe5ff24d286d2d719455dd52f6ddf8c5ed2ba0494c566a67555df37d5c19' + 'b2595e2c2c9980fd5a9b2a6bbd847a8cbb158a4c18e36e9002ccbec109b4eaa1' + '85fe839f1dd2e9f71b0cf931ad377610a1b4b324517df3d0c4a8be5e41b19646') + +build() { + test ! -d ${srcdir}/${pkgname}-src && mkdir ${srcdir}/${pkgname}-src + 7z e -y -o"${srcdir}/${pkgname}-src/" "${srcdir}/${pkgname}-${pkgver}.exe" +} +package() { + mkdir -p "${pkgdir}/usr/share/${pkgname}/" + cp ${srcdir}/${pkgname}-src/* "${pkgdir}/usr/share/${pkgname}/" + chmod u=rwX,go=rX "${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/thedude b/thedude new file mode 100644 index 000000000000..775f60a12818 --- /dev/null +++ b/thedude @@ -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 + +wine /usr/share/thedude/dude.exe "$@" diff --git a/thedude.desktop b/thedude.desktop new file mode 100644 index 000000000000..d509786087d8 --- /dev/null +++ b/thedude.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Winbox +Comment=GUI administration for Mikrotik RouterOS +Exec=/usr/bin/winbox +Icon=/usr/share/pixmaps/winbox.png +Terminal=false +Categories=Utility +StartupWMClass=winbox.exe diff --git a/thedude.install b/thedude.install new file mode 100644 index 000000000000..269ab2aefa3e --- /dev/null +++ b/thedude.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/thedude.png b/thedude.png Binary files differnew file mode 100644 index 000000000000..5e8cbca9dea9 --- /dev/null +++ b/thedude.png |