summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZuyi Hu2015-08-30 20:43:15 +0800
committerZuyi Hu2015-08-30 20:43:15 +0800
commit797eabbcd47842f69421cf072da8eb9a581cabb3 (patch)
tree92440dbd4c4ffa1f7988c2d376c0692a47849516
parent161dbb0f6b91aeebedb8faef5d73b321ea03b33d (diff)
downloadaur-797eabbcd47842f69421cf072da8eb9a581cabb3.tar.gz
append git commit info to pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f247fd6f69e..59807f5c300 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = moonplayer
pkgdesc = A qt font-end for mplayer with the abilities of watching and downloading videos from network
- pkgver = 0.42
+ pkgver = 0.42.b9dec4e
pkgrel = 1
url = https://github.com/coslyk/moonplayer
arch = i686
arch = x86_64
license = GPL
makedepends = git
- depends = qt4
+ depends = qt5-base
depends = python2
depends = mplayer
source = git+https://github.com/coslyk/moonplayer
diff --git a/PKGBUILD b/PKGBUILD
index a429a7d7764..06d22bb8333 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# maintainer: hzy068808 at gmail.com
# contributer: a304yuanyuan at gmail.com
+# contributer: rob.til.freedman@googlemail.com
pkgname=moonplayer
-pkgver=0.42
+pkgver=0.42.b9dec4e
pkgrel=1
pkgdesc="A qt font-end for mplayer with the abilities of watching and downloading videos from network"
arch=('i686' 'x86_64')
@@ -15,7 +16,7 @@ sha1sums=('SKIP')
pkgver(){
cd $srcdir/$pkgname
- grep "Latest version" README.md | awk '{ print $3 }' | sed 's/^v//g'
+ echo $(grep "Latest version" README.md | awk '{ print $3 }' | sed 's/^v//g')."$(git describe --always)"
}
build() {
cd $srcdir/$pkgname/src