archlinux-pkgbuilds/PKGBUILD

31 lines
740 B
Bash
Raw Normal View History

2018-08-09 01:10:05 +02:00
# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
2019-04-29 10:56:01 +02:00
pkgver=0.10.1
2018-08-09 01:10:05 +02:00
pkgrel=1
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64')
license=('GPL')
url='https://moonlight-stream.com'
2019-02-18 14:15:33 +01:00
depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-svg' 'ffmpeg' 'qt5-multimedia' 'sdl2_ttf')
makedepends=('git')
2018-08-09 01:10:05 +02:00
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs')
source=($pkgname::"git+https://github.com/moonlight-stream/${pkgname}.git#tag=v${pkgver}")
2018-08-09 01:10:05 +02:00
md5sums=('SKIP')
prepare() {
2018-08-09 01:10:05 +02:00
cd "$pkgname"
git submodule update --init --recursive
qmake PREFIX="$pkgdir/usr"
2018-08-09 01:10:05 +02:00
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make install
}