summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8810b47d8ab9f7a28ed21c588036607922261ca6 (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
45
46
47
48
49
50
51
52
53
# Maintainer: maintuner (Zackaruz)
pkgname=outline-client-appimage-wayland
pkgver=1.13.1
pkgrel=1
pkgdesc="The Outline clients use the popular Shadowsocks protocol, and lean on the Cordova and Electron frameworks."
arch=(x86_64)
conflicts=('outline-client-appimage')
url="https://getoutline.org"
license=("Apache License 2.0")
source=("Outline-Client.AppImage::https://s3.amazonaws.com/outline-releases/client/linux/stable/Outline-Client.AppImage"
        "outline-client16.png"
        "outline-client24.png"
        "outline-client32.png"
        "outline-client48.png"
        "outline-client64.png"
        "outline-client128.png"
        "outline-client256.png"
        "outline-client512.png"
        "outline-client1024.png"
        "outline-client.desktop"
        "outline-wayland-launcher.sh")
options=('!strip')

package() {
  install -Dm755 "${srcdir}/outline-wayland-launcher.sh" "${pkgdir}/opt/outline-client/outline-wayland-launcher.sh"
  install -Dm755 "${srcdir}/Outline-Client.AppImage" "${pkgdir}/opt/outline-client/Outline-Client.AppImage"
  install -Dm644 "${srcdir}/outline-client.desktop" "${pkgdir}/usr/share/applications/outline-client.desktop"
  install -Dm644 "${srcdir}/outline-client16.png" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client24.png" "${pkgdir}/usr/share/icons/hicolor/24x24/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client48.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client512.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/outline-client.png"
  install -Dm644 "${srcdir}/outline-client1024.png" "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/outline-client.png"
  mkdir -p "${pkgdir}/usr/bin/"
  #ln -s "/opt/outline-client/Outline-Client.AppImage" "${pkgdir}/usr/bin/outline-client"
  ln -s "/opt/outline-client/outline-wayland-launcher.sh" "${pkgdir}/usr/bin/outline-client-wayland"
}

md5sums=('d08f9261decd01989f4695977396f872'
         '0a93de3e384697183c80dd8f2d9a7d4c'
         '1119ddab3f312c7c8a6411f9fb345f18'
         'a7fbc709d197494b461f2afb7841249e'
         'a20ea1af78233b243d90dbe01dd27643'
         '53b7d75055b50fb1019b37e25401497f'
         '21ee59b03e158af113129ee853bf5f06'
         '15a01c4029650763d83d60945e57b82e'
         '328166288c74442b1d58d576dbe951df'
         '7656cda27d6a687fc29bc579102b5a55'
         '8b3be590793dd814084ddd3594bf5b79'
         '5e2fe31218a6b4cc8316539bd3d9aaa6')