summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Carr2017-09-26 10:35:45 -0700
committerDonald Carr2017-09-26 10:37:39 -0700
commit4870547f4989c6d585a39e99b6e7f91bccc15abd (patch)
tree233e38d2faa2f423bd835c1d0466b7c5503316ad
parent906d3a327fabd52db4bd414f93ecc20016c31d68 (diff)
downloadaur-4870547f4989c6d585a39e99b6e7f91bccc15abd.tar.gz
Start packaging from tags in non-git suffixed package
Change-Id: Iedb5d75b79f573ee524f9a4aecc646e1da77ffd5
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 5 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f39bb529c7..81816faa5dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
# Generated by mksrcinfo v8
-# Sun Sep 24 18:32:03 UTC 2017
+# Tue Sep 26 17:35:43 UTC 2017
pkgbase = qt-gtk-platform-plugin
pkgdesc = GTK platform backend for Qt
- pkgver = 0.0.201
+ pkgver = 0.0.1
pkgrel = 1
url = https://github.com/CrimsonAS/gtkplatform
arch = any
license = LGPL3
- source = git://github.com/CrimsonAS/gtkplatform.git
+ source = git://github.com/CrimsonAS/gtkplatform.git#tag=0.0.1
sha256sums = SKIP
pkgname = qt-gtk-platform-plugin
diff --git a/PKGBUILD b/PKGBUILD
index dbd7e2d2a6d..c529353732c 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