archlinux-pkgbuilds/PKGBUILD
2019-05-27 23:02:16 +01:00

30 lines
754 B
Bash

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