KShare/packages/arch/dev-KShare/PKGBUILD

41 lines
963 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-git
2020-02-23 17:47:44 +01:00
pkgver=v5.0.3+dev
2017-07-07 13:02:00 +02:00
pkgrel=1
2017-07-25 01:46:06 +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')
2017-08-06 00:51:02 +02:00
provides=(kshare)
conflicts=(kshare)
2020-02-23 16:07:00 +01:00
depends=(qt5-base qt5-x11extras qt5-svg qt5-multimedia 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#branch=dev)
2017-07-07 13:02:00 +02:00
sha1sums=('SKIP')
2017-08-06 00:51:02 +02:00
pkgver() {
cd KShare
2020-02-23 17:47:44 +01:00
echo "v5.0.3+dev"
2017-08-06 00:51:02 +02:00
}
prepare() {
cd KShare
git submodule update --init --recursive
}
2017-07-07 13:02:00 +02:00
build() {
2017-08-06 00:51:02 +02:00
cd KShare
2017-07-07 13:02:00 +02:00
qmake
2017-08-06 00:51:02 +02:00
make
2017-07-07 13:02:00 +02:00
}
package() {
2017-08-06 00:51:02 +02:00
cd KShare
2017-10-15 17:33:57 +02:00
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-08-19 00:32:20 +02:00
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
2017-08-06 00:51:02 +02:00
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
2017-07-07 13:02:00 +02:00
}