41 lines
948 B
Bash
41 lines
948 B
Bash
# Maintainer: Gurkengewuerz <niklas@mc8051.de>
|
|
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 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"
|
|
}
|
|
|