summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDonald Carr2017-09-26 10:35:45 -0700
committerDonald Carr2017-09-26 10:37:39 -0700
commit4870547f4989c6d585a39e99b6e7f91bccc15abd (patch)
tree233e38d2faa2f423bd835c1d0466b7c5503316ad /PKGBUILD
parent906d3a327fabd52db4bd414f93ecc20016c31d68 (diff)
downloadaur-4870547f4989c6d585a39e99b6e7f91bccc15abd.tar.gz
Start packaging from tags in non-git suffixed package
Change-Id: Iedb5d75b79f573ee524f9a4aecc646e1da77ffd5
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 2 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dbd7e2d2a6d0..c529353732c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,15 @@
#_qmake_args="CONFIG+=debug"
pkgname=qt-gtk-platform-plugin
-pkgver=0.0.201
+pkgver=0.1.0
pkgrel=1
pkgdesc='GTK platform backend for Qt'
arch=('any')
url='https://github.com/CrimsonAS/gtkplatform'
license=('LGPL3')
-source=("git://github.com/CrimsonAS/gtkplatform.git")
+source=("git://github.com/CrimsonAS/gtkplatform.git#tag=$pkgver")
sha256sums=('SKIP')
-pkgver () {
- cd "${srcdir}/gtkplatform"
- if git describe --tags --long; then
- git describe --tags --long | sed -r 's/^v//;s/-RC/RC/;s/([^-]*-g)/r\1/;s/-/./g'
- else
- echo "0.0.$(git rev-list --count HEAD)"
- fi
-}
-
build() {
cd "${srcdir}/gtkplatform"
qmake DESTDIR=$srcdir