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

George Rawlinson grawlinson at gemini.archlinux.org
Sun Apr 17 00:28:08 UTC 2022


    Date: Sunday, April 17, 2022 @ 00:28:08
  Author: grawlinson
Revision: 1186839

upgpkg: mold 1.2.0-1

* New upstream release.
* Add checkdepends: libdwarf.

Modified:
  mold/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-16 23:55:28 UTC (rev 1186838)
+++ PKGBUILD	2022-04-17 00:28:08 UTC (rev 1186839)
@@ -2,7 +2,7 @@
 # Contributor: Adrian Perez de Castro <aperez at igalia.com>
 
 pkgname=mold
-pkgver=1.1.1
+pkgver=1.2.0
 pkgrel=1
 pkgdesc='A Modern Linker'
 arch=('x86_64')
@@ -10,9 +10,9 @@
 license=('AGPL3')
 depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb') # xxhash is bundled
 makedepends=('git')
-checkdepends=('clang')
+checkdepends=('clang' 'libdwarf')
 options=('debug')
-_commit='c1af9c97e763a1d521889191a83b27bd6c43b351' # v1.1.1
+_commit='f86868cb389d9d45fab99e200f51f2682a4f5956'
 source=("$pkgname::git+$url.git#commit=$_commit")
 b2sums=('SKIP')
 
@@ -19,7 +19,8 @@
 pkgver() {
   cd "$pkgname"
 
-  git describe --tags | sed 's/^v//'
+  # current commit has multiple tags (v1.2 & v1.2.0)
+  git describe --tags --exclude=v1.2 | sed 's/^v//'
 }
 
 prepare() {



More information about the arch-commits mailing list