summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e16a5dd88034f18c4dda7194dd2948b6339bf65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: nycex <nycex / cccp.org>
# Contributor: Tom Hetmer <tom.hetmer / outlook.cz>
# Contributor: Daniel Milde <daniel / milde.cz>

_pkgname=winbox
pkgname=${_pkgname}-xdg
pkgver=3.28
pkgrel=1
pkgdesc="Mikrotik RouterOS GUI Configurator (wine). xdg base directory specification compliant version"
url="http://www.mikrotik.com"
arch=('x86_64')
license=('custom')
depends=('wine' 'ttf-tahoma')
conflicts=('winbox')
optdepends=(
  'ttf-ms-fonts: for better fonts'
)
install=${pkgname}.install
source=("${_pkgname}-${pkgver}.exe::https://download.mikrotik.com/winbox/${pkgver}/${_pkgname}64.exe"
        "${_pkgname}.desktop"
        "${_pkgname}.png"
        "${_pkgname}")
sha256sums=('5945de40b4b7c811080f80e8bf45abe980cdb804a165950bc784e98459b2f979'
            '6e9ffe5ff24d286d2d719455dd52f6ddf8c5ed2ba0494c566a67555df37d5c19'
            '603eaed8dfb5b6146712c5cee801e6d77f1f45d6bd5c4b545f9f84193834d380'
            '661fbcfbcbd0590278563707129de526a4cfb32c0837b4ba6315a17b66451891')

package() {
  install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.exe" "${pkgdir}/usr/share/${_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"
}