KShare/packages/arch/master-KShare/PKGBUILD

36 lines
899 B
Bash
Raw Normal View History

2019-05-13 23:44:09 +02:00
# Maintainer: Gurkengewuerz <niklas@mc8051.de>
2017-07-07 13:02:00 +02:00
pkgname=kshare
2020-02-16 03:42:53 +01:00
pkgver=v5.0.2
2017-07-07 13:02:00 +02:00
pkgrel=1
conflicts=("kshare-git")
2017-08-19 00:32:20 +02:00
pkgdesc="The free and open source and cross platform screen sharing software."
2017-07-07 13:02:00 +02:00
arch=('i686' 'x86_64')
2019-05-13 23:44:09 +02:00
url="https://github.com/Gurkengewuerz/KShare"
2017-07-07 13:02:00 +02:00
license=('MIT')
provides=('kshare=$pkgver')
2017-09-09 13:54:32 +02:00
depends=(qt5-base qt5-x11extras qt5-svg xcb-util-cursor ffmpeg libxfixes)
2017-11-04 23:18:28 +01:00
makedepends=(git pkg-config)
2019-05-13 23:44:09 +02:00
source=(git+https://github.com/Gurkengewuerz/KShare.git)
2017-07-07 13:02:00 +02:00
sha1sums=('SKIP')
2017-10-15 17:33:57 +02:00
prepare() {
cd KShare
git submodule update --init --recursive
}
2017-07-07 13:02:00 +02:00
build() {
2017-10-15 17:33:57 +02:00
cd KShare
2017-07-07 13:02:00 +02:00
qmake
make
}
package() {
2017-10-15 17:33:57 +02:00
cd KShare
install -Dm755 src/kshare "$pkgdir/usr/bin/kshare"
2017-10-15 17:50:04 +02:00
install -Dm644 src/icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
2017-10-15 17:33:57 +02:00
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
2017-07-07 13:02:00 +02:00
}