diff options
author | nycex | 2020-07-17 19:16:42 +0200 |
---|---|---|
committer | nycex | 2020-07-17 19:16:42 +0200 |
commit | 6e6c2a20c37917344de16a2099a2267de7f3859c (patch) | |
tree | 361a5b977edb42d1cb8ff422c5a05ac68114a57d | |
parent | 01d792c5b539ca66cde54e4e5f8afcdd52ecf11c (diff) | |
download | aur-6e6c2a20c37917344de16a2099a2267de7f3859c.tar.gz |
apply font fix
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | winbox | 5 |
3 files changed, 5 insertions, 3 deletions
@@ -7,6 +7,7 @@ pkgbase = winbox-xdg arch = x86_64 license = custom depends = wine + depends = ttf-tahoma optdepends = ttf-ms-fonts: for better fonts conflicts = winbox source = winbox-3.24.exe::https://download.mikrotik.com/winbox/3.24/winbox64.exe @@ -10,7 +10,7 @@ pkgdesc="Mikrotik RouterOS GUI Configurator (wine). xdg base directory specifica url="http://www.mikrotik.com" arch=('x86_64') license=('custom') -depends=('wine') +depends=('wine' 'ttf-tahoma') conflicts=('winbox') optdepends=( 'ttf-ms-fonts: for better fonts' @@ -2,10 +2,11 @@ export WINEPREFIX="${WINBOX_HOME:-"${XDG_DATA_HOME:-"${HOME}/.local/share"}/winbox"}/wine" export WINEARCH=win64 -export WINEDLLOVERRIDES="mscoree=" # disable mono +export WINEDLLOVERRIDES="mscoree,mshtml=" # disable mono export WINEDEBUG=-all if [ ! -d "${WINEPREFIX}" ] ; then - mkdir -p "${WINEPREFIX}" + mkdir -p "${WINEPREFIX}/drive_c/windows/Fonts/" + cp /usr/share/fonts/TTF/tahoma.ttf /usr/share/fonts/TTF/tahomabd.ttf "${WINEPREFIX}/drive_c/windows/Fonts/" wineboot -u fi |