Updated to 0.3.0 and added auto-bump to most recent tag.

This commit is contained in:
Michael Herzberg 2018-09-01 11:30:36 +01:00
parent c23787e40a
commit 4a64b91bbf
2 changed files with 10 additions and 6 deletions

View file

@ -1,6 +1,6 @@
pkgbase = moonlight-qt pkgbase = moonlight-qt
pkgdesc = GameStream client for PCs (Windows, Mac, and Linux) pkgdesc = GameStream client for PCs (Windows, Mac, and Linux)
pkgver = 0.1.0 pkgver = 0.3.0
pkgrel = 1 pkgrel = 1
url = https://moonlight-stream.com url = https://moonlight-stream.com
arch = x86_64 arch = x86_64
@ -9,7 +9,7 @@ pkgbase = moonlight-qt
depends = qt5-quickcontrols depends = qt5-quickcontrols
depends = qt5-quickcontrols2 depends = qt5-quickcontrols2
optdepends = libva-intel-driver: hardware acceleration for Intel GPUs optdepends = libva-intel-driver: hardware acceleration for Intel GPUs
source = moonlight-qt::git+https://github.com/moonlight-stream/moonlight-qt.git#tag=v0.1.0 source = moonlight-qt::git+https://github.com/moonlight-stream/moonlight-qt.git
md5sums = SKIP md5sums = SKIP
pkgname = moonlight-qt pkgname = moonlight-qt

View file

@ -1,7 +1,7 @@
# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de> # Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt pkgname=moonlight-qt
pkgver=0.1.0 pkgver=0.3.0
pkgrel=1 pkgrel=1
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)' pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64') arch=('x86_64')
@ -9,16 +9,20 @@ license=('GPL')
url='https://moonlight-stream.com' url='https://moonlight-stream.com'
depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2') depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2')
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs') optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs')
source=($pkgname::"git+https://github.com/moonlight-stream/${pkgname}.git#tag=v${pkgver}") source=($pkgname::"git+https://github.com/moonlight-stream/${pkgname}.git")
md5sums=('SKIP') md5sums=('SKIP')
prepare() { pkgver() {
cd "$pkgname" cd "$pkgname"
git submodule update --init --recursive git describe --long --tags | sed 's/^v//;s/-.*//'
} }
build() { build() {
cd "$pkgname" cd "$pkgname"
git checkout v${pkgver}
git submodule update --init --recursive
qmake PREFIX="$pkgdir/usr" qmake PREFIX="$pkgdir/usr"
make make
} }