summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 24e3bebc8298e564aa140cbf3d0eb9ff40206dc7 (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
35
36
37
38
39
40
41
42
43
44
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=ultravnc-viewer
pkgver=1.4.31
pkgrel=1
pkgdesc="A powerful VNC Client with a lot of features, compatible with Windows' UltraVNC servers"
arch=('any')
url="http://www.uvnc.com"
license=('GPL')
depends=('wine' 'hicolor-icon-theme')
source=("${pkgname}-${pkgver}.zip"::"https://uvnc.com/component/jdownloads/send/0-/452-ultravnc-${pkgver//./-}-bin-zip.html?Itemid=0"
        "${pkgname}"
        "${pkgname}-16.png"
        "${pkgname}-24.png"
        "${pkgname}-32.png"
        "${pkgname}-48.png"
        "${pkgname}-256.png"
        "${pkgname}.desktop"
        "${pkgname}-listen.desktop")
sha256sums=('ae5598b8bce93535ec0d7eae30dbc324d1b29311953fc07c4aa0a5e42489e8d1'
            '1738d173c1cb89e46207c70fda6a36b7eeea9ba31b469a0cce10bbd9e8deb9b0'
            '5386feaf65fff389db4e4e30950f97d64803815b1e1a219d45bf41c2bde45e21'
            '098876231f8006bb89fc54986175ec6d938fae2c9e4a6dafe9b5c9d36f7fb3a2'
            '48025bb333be1ab9ebf875ced00d98b5701bbd81bad361d34712bc00b2e3c0df'
            '26b29f4a99cc40e3c119eae0f3ae9195d41f57cb2377f1add3e4c771f752aaa2'
            '1106710eab5b5603c15a1c216ad181e60110e8dc17f6442985e24f631b6f5f1b'
            'c2a3cb12b9fdbd06fc9faf9907a591d7988233dd5e0046ccba625f5f8b3b367d'
            '6eefe94d1dacc0ca414a1e2ff5cc0fb2c272d3743b39240247000e5d03e6d9f2')

package() {
  # Install binary files
  install -m 644 -D "${srcdir}/x86/vncviewer.exe" "${pkgdir}/usr/lib/${pkgname}/vncviewer.exe"
  # Install startup script
  install -m 755 -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  # Install icons
  for _size in 16 24 32 48 256
  do
    install -m 644 -D ${pkgname}-${_size}.png "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png"
  done
  # Install desktop files
  install -m 755 -d "${pkgdir}/usr/share/applications"
  install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop" "${pkgname}-listen.desktop"
}