summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 383a83bba94e16297325d29a4510c50e6900b9f6 (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
# Maintainer:zxp19821005 <zxp19821005 at 163 dot com>
# Contributor:schorschii https://georg-sieber.de
pkgname=confluence-companion-app-for-linux
pkgver=1.1
pkgrel=4
pkgdesc="Unoffical Atlassian Companion App for Linux."
arch=("any")
url="https://github.com/zxp19821005/Companion4Linux"
license=('GPL-3.0-only')
provides=("confluence-companion-linux")
conflicts=("confluence-companion-linux")
depends=(
    'python>=3'
    'python-websockets'
    'python-pyinotify'
    'python-wxpython'
    'python-requests'
    'libnotify'
    'python-gobject'
)
optdepends=(
    'xapp'
    'libgexiv2'
    'gst-python'
)
install="${pkgname}.install"
source=(
    "${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz"
)
sha256sums=('3303c59aaa85a46f59c0588cbb507b5136cea681696b06360a592b33bdf595a7')
package() {
    sed "5i Categories=Settings;" -i "${srcdir}/Companion4Linux-${pkgver}/companion-autostart.desktop"
    sed "5i Categories=Settings;" -i "${srcdir}/Companion4Linux-${pkgver}/companion-protocol-handler.desktop"
    install -Dm755 "${srcdir}/Companion4Linux-${pkgver}/"*.py -t "${pkgdir}/usr/bin"
    install -Dm644 "${srcdir}/Companion4Linux-${pkgver}/"*.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm644 "${srcdir}/Companion4Linux-${pkgver}/${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/user"
}