Date: Sunday, January 8, 2023 @ 19:35:13
  Author: freswa
Revision: 1382043

remove rpath in binaries

Modified:
  waylock/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-08 18:55:22 UTC (rev 1382042)
+++ PKGBUILD    2023-01-08 19:35:13 UTC (rev 1382043)
@@ -3,14 +3,13 @@
 pkgname=waylock
 pkgver=0.5.0
 _commit=0bb019937c9a5d21cb205526493559deedfdeace  # refs/tags/v0.5.0^{}
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple screenlocker for wayland compositors"
 arch=(x86_64)
 url="https://github.com/ifreund/waylock";
 license=(MIT)
 depends=(gcc-libs glibc)
-# NOTE: if scdoc is installed zig build tries to install man page to system 
location :-/
-makedepends=(git libxkbcommon pam scdoc wayland wayland-protocols zig)
+makedepends=(chrpath git libxkbcommon pam scdoc wayland wayland-protocols zig)
 source=(
   git+https://github.com/ifreund/waylock#commit=$_commit?signed
   git+https://github.com/ifreund/zig-wayland
@@ -41,6 +40,7 @@
 build() {
   cd $pkgname
   DESTDIR="build" zig build -Dpie --prefix /usr install
+  chrpath --delete build/usr/bin/waylock
 }
 
 package() {

Reply via email to