# Maintainer: Gurkengewuerz pkgname=kshare-git pkgver=v5.0.2+dev pkgrel=1 pkgdesc="The free and open source and cross platform screen sharing software." arch=('i686' 'x86_64') url="https://github.com/Gurkengewuerz/KShare" license=('MIT') provides=(kshare) conflicts=(kshare) depends=(qt5-base qt5-x11extras qt5-svg qt5-multimedia xcb-util-cursor ffmpeg libxfixes) makedepends=(git pkg-config) source=(git+https://github.com/Gurkengewuerz/KShare.git#branch=dev) sha1sums=('SKIP') pkgver() { cd KShare echo "v5.0.2+dev" } 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" }