Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
rofi-rbw


Commits:
20b65cfa by Daniel M. Capella at 2024-05-05T15:01:23-04:00
upgpkg: 1.4.2-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = rofi-rbw
        pkgdesc = Rofi frontend for Bitwarden
-       pkgver = 1.4.1
+       pkgver = 1.4.2
        pkgrel = 1
        url = https://github.com/fdw/rofi-rbw
        arch = any
@@ -20,7 +20,7 @@ pkgbase = rofi-rbw
        optdepends = wl-clipboard: for the Wayland clipboarder
        optdepends = wtype: for a Wayland typer
        optdepends = ydotool: for a generic typer
-       source = git+https://github.com/fdw/rofi-rbw.git#tag=1.4.1
-       b2sums = 
e8bbd20f447784ba4d251071e5a0740344cb1d6a5e71b782ae3deae71f23934ab570951e3b5c785488de3716587cddcbe59fff713f872911b99072ffff615d4b
+       source = git+https://github.com/fdw/rofi-rbw.git#tag=1.4.2
+       b2sums = 
d8888fe0679576f6b8b3f20d362beb32dfeb2ff35d52c67f254a890122a6d7a3e46e73187a89c315555497e345b09abd30ac4a72d1e0f6026202ceb4047d5263
 
 pkgname = rofi-rbw


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Matt Armand <marmand68 at gmail dot com>
 
 pkgname=rofi-rbw
-pkgver=1.4.1
+pkgver=1.4.2
 pkgrel=1
 pkgdesc='Rofi frontend for Bitwarden'
 arch=('any')
@@ -28,7 +28,7 @@ optdepends=(
   'ydotool: for a generic typer'
 )
 source=("git+$url.git#tag=$pkgver")
-b2sums=('e8bbd20f447784ba4d251071e5a0740344cb1d6a5e71b782ae3deae71f23934ab570951e3b5c785488de3716587cddcbe59fff713f872911b99072ffff615d4b')
+b2sums=('d8888fe0679576f6b8b3f20d362beb32dfeb2ff35d52c67f254a890122a6d7a3e46e73187a89c315555497e345b09abd30ac4a72d1e0f6026202ceb4047d5263')
 
 build() {
   cd $pkgname
@@ -39,5 +39,10 @@ package() {
   cd $pkgname
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/$pkgname.1
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/"${pkgname//-/_}"-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi-rbw/-/commit/20b65cfa69215b26fdb4e600641f88ec5057376e

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi-rbw/-/commit/20b65cfa69215b26fdb4e600641f88ec5057376e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to