[arch-commits] Commit in check/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Jan 25 15:23:15 UTC 2017


    Date: Wednesday, January 25, 2017 @ 15:23:15
  Author: heftig
Revision: 287425

0.11.0-1

Modified:
  check/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-25 15:23:05 UTC (rev 287424)
+++ PKGBUILD	2017-01-25 15:23:15 UTC (rev 287425)
@@ -4,8 +4,8 @@
 # Contributor: Jeremy Cowgar <jeremy at cowgar.com>
 
 pkgname=check
-pkgver=0.10.0
-pkgrel=2
+pkgver=0.11.0
+pkgrel=1
 pkgdesc="A unit testing framework for C"
 url="https://libcheck.github.io/check/"
 arch=(i686 x86_64)
@@ -12,15 +12,20 @@
 license=(LGPL)
 depends=(awk)
 makedepends=(git)
-source=("git+https://github.com/libcheck/check#tag=$pkgver")
+_commit=cbc78bab899858f3ece1f218168da54aac757bb0  # tags/0.11.0
+source=("git+https://github.com/libcheck/check#commit=$_commit")
 md5sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
   cd $pkgname
   autoreconf -fvi
 }
 
-
 build() {
   cd $pkgname
   ./configure --prefix=/usr --disable-static



More information about the arch-commits mailing list