KShare/packages/arch/Stable-KShare/PKGBUILD

33 lines
906 B
Bash
Raw Normal View History

2017-07-07 13:02:00 +02:00
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
pkgname=kshare
2017-09-08 14:46:53 +02:00
pkgver=4.1r7
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')
url="https://github.com/ArsenArsen/KShare"
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-09-08 14:46:53 +02:00
makedepends=('git')
2017-08-19 00:32:20 +02:00
source=(git+https://github.com/ArsenArsen/KShare.git)
2017-07-07 13:02:00 +02:00
sha1sums=('SKIP')
build() {
cd "${srcdir}/KShare"
git submodule update --init --recursive
qmake
make
}
package() {
cd "${srcdir}/KShare"
mkdir -p "$pkgdir/usr/bin"
2017-09-08 14:46:53 +02:00
install src/KShare "$pkgdir/usr/bin/kshare"
2017-08-19 00:32:20 +02:00
mkdir -p "$pkgdir/usr/share/pixmaps"
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps/KShare.png"
mkdir -p "$pkgdir/usr/share/applications"
# install KShare.desktop "$pkgdir/usr/share/applications"
2017-07-07 13:02:00 +02:00
}