Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / 
handlr-regex


Commits:
e9d49c20 by Orhun Parmaksız at 2024-10-24T13:06:41+03:00
upgpkg: 0.12.0-2: fix completions

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = handlr-regex
        pkgdesc = Powerful alternative to xdg-utils written in Rust
        pkgver = 0.12.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/Anomalocaridid/handlr-regex
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname=handlr-regex
 _pkgname=handlr
 pkgver=0.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Powerful alternative to xdg-utils written in Rust"
 arch=('x86_64')
 url="https://github.com/Anomalocaridid/handlr-regex";
@@ -29,6 +29,10 @@ build() {
   COMPLETE=bash target/release/$_pkgname >"completions/$_pkgname"
   COMPLETE=fish target/release/$_pkgname >"completions/$_pkgname.fish"
   COMPLETE=zsh target/release/$_pkgname >"completions/_$_pkgname"
+  echo "$PWD/target/release/$_pkgname|/usr/bin/$_pkgname"
+  for f in completions/*; do
+    sed -i "s|$PWD/target/release/$_pkgname|/usr/bin/$_pkgname|g" "$f"
+  done
 }
 
 check() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/handlr-regex/-/commit/e9d49c20d7718ec8e4479d4d2bbde16c52559041

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/handlr-regex/-/commit/e9d49c20d7718ec8e4479d4d2bbde16c52559041
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to