[arch-commits] Commit in mold/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri Apr 29 07:53:28 UTC 2022
Date: Friday, April 29, 2022 @ 07:53:28
Author: grawlinson
Revision: 1191776
upgpkg: mold 1.2.1-1
* New upstream release.
* Fix symlink issue with /usr/lib/mold/ld.
Modified:
mold/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-29 07:48:06 UTC (rev 1191775)
+++ PKGBUILD 2022-04-29 07:53:28 UTC (rev 1191776)
@@ -2,7 +2,7 @@
# Contributor: Adrian Perez de Castro <aperez at igalia.com>
pkgname=mold
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=1
pkgdesc='A Modern Linker'
arch=('x86_64')
@@ -12,7 +12,7 @@
makedepends=('git')
checkdepends=('clang' 'libdwarf')
options=('debug')
-_commit='f86868cb389d9d45fab99e200f51f2682a4f5956'
+_commit='c8d8f86a52084c96e2663d9f692c51e98c04cc2f'
source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
@@ -19,8 +19,7 @@
pkgver() {
cd "$pkgname"
- # current commit has multiple tags (v1.2 & v1.2.0)
- git describe --tags --exclude=v1.2 | sed 's/^v//'
+ git describe --tags | sed 's/^v//'
}
prepare() {
@@ -64,4 +63,6 @@
SYSTEM_TBB=1 \
DESTDIR="$pkgdir" \
install
+
+ ln -vsf /usr/bin/mold "$pkgdir/usr/lib/mold/ld"
}
More information about the arch-commits
mailing list