KShare/packages/arch/Stable-KShare/PKGBUILD

36 lines
900 B
Bash
Raw Normal View History

2017-07-07 13:02:00 +02:00
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
pkgname=kshare
2017-11-04 23:18:28 +01:00
pkgver=v4.1.r8
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-11-04 23:18:28 +01:00
makedepends=(git pkg-config)
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')
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
}