KShare/packages/arch/Stable-KShare/PKGBUILD.sample

32 lines
907 B
Plaintext
Raw Normal View History

2017-07-17 22:26:36 +02:00
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
pkgname=kshare
pkgver=;VER;
pkgrel=1
conflicts=("kshare-git")
2017-07-25 01:46:06 +02:00
pkgdesc="The free and open source and cross platform screen sharing software."
2017-07-17 22:26:36 +02:00
arch=('i686' 'x86_64')
url="https://github.com/ArsenArsen/KShare"
license=('MIT')
provides=('kshare=$pkgver')
2017-07-27 16:36:15 +02:00
depends=(qt5-base qt5-svg qt5-x11extras xcb-util-cursor ffmpeg libxfixes)
2017-07-17 22:26:36 +02:00
source=(git+https://github.com/ArsenArsen/KShare.git#tag=v${pkgver})
sha1sums=('SKIP')
build() {
cd "${srcdir}/KShare"
git submodule update --init --recursive
qmake
make -j$(($(nproc) + 1))
}
package() {
cd "${srcdir}/KShare"
mkdir -p "$pkgdir/usr/bin"
install ./KShare "$pkgdir/usr/bin/kshare"
2017-07-21 09:47:57 +02:00
mkdir -p "$pkgdir/usr/share/pixmaps"
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps"
mkdir -p "$pkgdir/usr/share/applications"
install KShare.desktop "$pkgdir/usr/share/applications"
2017-07-17 22:26:36 +02:00
}