summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Herzberg2018-09-01 11:30:36 +0100
committerMichael Herzberg2018-09-01 11:30:36 +0100
commit4a64b91bbfeb14bac5ef69c2beac56b82832d32a (patch)
tree6f799165899fd0f490e9c75fca60d867ede9089e
parentc23787e40ad50bfe42d1bbb6a07b49117419e276 (diff)
downloadaur-4a64b91bbfeb14bac5ef69c2beac56b82832d32a.tar.gz
Updated to 0.3.0 and added auto-bump to most recent tag.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6bba7039c5..c67e4ee32d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = moonlight-qt
pkgdesc = GameStream client for PCs (Windows, Mac, and Linux)
- pkgver = 0.1.0
+ pkgver = 0.3.0
pkgrel = 1
url = https://moonlight-stream.com
arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = moonlight-qt
depends = qt5-quickcontrols
depends = qt5-quickcontrols2
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
pkgname = moonlight-qt
diff --git a/PKGBUILD b/PKGBUILD
index faa4f37def6..febb536b29b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
-pkgver=0.1.0
+pkgver=0.3.0
pkgrel=1
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64')
@@ -9,16 +9,20 @@ license=('GPL')
url='https://moonlight-stream.com'
depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2')
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')
-prepare() {
+pkgver() {
cd "$pkgname"
- git submodule update --init --recursive
+ git describe --long --tags | sed 's/^v//;s/-.*//'
}
build() {
cd "$pkgname"
+
+ git checkout v${pkgver}
+ git submodule update --init --recursive
+
qmake PREFIX="$pkgdir/usr"
make
}