blob: 0d0491262325dcafc42a4059f5ad18937c3e58b0 (
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
|
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
pkgname=kshare-git
pkgver=v4.1.r196.gc38161b
pkgrel=2
pkgdesc="The free and open source and cross platform screen sharing software."
arch=('i686' 'x86_64')
url="https://gitlab.com/ArsenArsen/KShare"
license=('MIT')
provides=(kshare)
conflicts=(kshare)
depends=(qt5-base qt5-x11extras qt5-svg xcb-util-cursor ffmpeg libxfixes)
makedepends=(git pkg-config)
source=(git+https://gitlab.com/ArsenArsen/KShare.git#branch=dev)
sha1sums=('SKIP')
pkgver() {
cd KShare
echo "$(git describe --long --tags | tr - .)"
}
prepare() {
cd KShare
git submodule update --init --recursive
}
build() {
cd KShare
qmake
make
}
package() {
cd KShare
install -Dm755 src/kshare "$pkgdir/usr/bin/kshare"
install -Dm644 src/icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
|