KShare/packages/arch/KShare/PKGBUILD.sample

40 lines
923 B
Plaintext
Raw Normal View History

2017-07-07 13:02:00 +02:00
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
pkgname=kshare-git
2017-08-06 00:51:02 +02:00
pkgver=v4.1.139.gfe86bfe
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')
url="https://github.com/ArsenArsen/KShare"
license=('MIT')
2017-08-06 00:51:02 +02:00
provides=(kshare)
conflicts=(kshare)
depends=(qt5-base qt5-x11extras xcb-util-cursor ffmpeg libxfixes)
source=(git+https://github.com/ArsenArsen/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
echo "$(git describe --long --tags | tr - .)"
}
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
install -Dm755 KShare "$pkgdir/usr/bin/kshare"
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/kshare.png"
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
2017-07-07 13:02:00 +02:00
}