Brett Cornwall pushed to branch main at Arch Linux / Packaging / Packages / 
j4-dmenu-desktop


Commits:
1c432b70 by Brett Cornwall at 2024-12-14T23:23:47-08:00
upgpkg: 3.2-1

* Remove a duplicate wmneu optdep
* Add python-pytest checkdep
* Disable new crazy-complete dep as upstream provides the completion
  files already

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = j4-dmenu-desktop
        pkgdesc = Find .desktop files and offer you a menu to start an 
application using dmenu
-       pkgver = 3.1
-       pkgrel = 3
+       pkgver = 3.2
+       pkgrel = 1
        url = https://github.com/enkore/j4-dmenu-desktop
        arch = x86_64
        license = GPL-3.0-only
+       checkdepends = python-pytest
        makedepends = catch2
        makedepends = cmake
        makedepends = meson
@@ -14,12 +15,11 @@ pkgbase = j4-dmenu-desktop
        depends = spdlog
        optdepends = dmenu: The default backend
        optdepends = bemenu: An alternative backend
-       optdepends = bemenu: An alternative backend
        optdepends = wmenu: An alternative backend
-       source = 
j4-dmenu-desktop-3.1.tar.gz::https://github.com/enkore/j4-dmenu-desktop/archive/r3.1.tar.gz
-       source = 
j4-dmenu-desktop-3.1.tar.gz.sig::https://github.com/enkore/j4-dmenu-desktop/releases/download/r3.1/r3.1.tar.gz.sig
+       source = 
j4-dmenu-desktop-3.2.tar.gz::https://github.com/enkore/j4-dmenu-desktop/archive/r3.2.tar.gz
+       source = 
j4-dmenu-desktop-3.2.tar.gz.sig::https://github.com/enkore/j4-dmenu-desktop/releases/download/r3.2/r3.2.tar.gz.sig
        validpgpkeys = 7B0F58A5E0F1A2EA11578A731A14CB3464CBE5BF
-       sha256sums = 
0e6cf25663cc220e3e3e2bc013fe957c3e4a44f900b5ee6a7609cd501021652d
+       sha256sums = 
99e2f394570f8fb0b1a2cde2926980fd9685ce60e1500b575057f8424c9ad555
        sha256sums = SKIP
 
 pkgname = j4-dmenu-desktop


=====================================
PKGBUILD
=====================================
@@ -5,8 +5,8 @@
 # Contributor: Bill Kolokithas
 
 pkgname=j4-dmenu-desktop
-pkgver=3.1
-pkgrel=3
+pkgver=3.2
+pkgrel=1
 pkgdesc="Find .desktop files and offer you a menu to start an application 
using dmenu"
 arch=('x86_64')
 url="https://github.com/enkore/j4-dmenu-desktop";
@@ -22,20 +22,25 @@ makedepends=(
     'cmake'
     'meson'
 )
+checkdepends=(
+    'python-pytest'
+)
 optdepends=(
     'dmenu: The default backend'
     'bemenu: An alternative backend'
-    'bemenu: An alternative backend'
     'wmenu: An alternative backend'
 )
 source=("$pkgname-$pkgver.tar.gz::$url/archive/r$pkgver.tar.gz"
         
"$pkgname-$pkgver.tar.gz.sig::$url/releases/download/r$pkgver/r$pkgver.tar.gz.sig")
 validpgpkeys=('7B0F58A5E0F1A2EA11578A731A14CB3464CBE5BF')  # Meator 
<meator....@gmail.com>
-sha256sums=('0e6cf25663cc220e3e3e2bc013fe957c3e4a44f900b5ee6a7609cd501021652d'
+sha256sums=('99e2f394570f8fb0b1a2cde2926980fd9685ce60e1500b575057f8424c9ad555'
             'SKIP')
 
 build() {
-    arch-meson "$pkgname-r$pkgver" build
+    # Shell completions are already generated/provided by upstream.
+    arch-meson "$pkgname-r$pkgver" \
+        -Dgenerate-shell-completions=disabled \
+        build
     meson compile -C build
 }
 
@@ -50,6 +55,17 @@ package() {
     install -Dm0644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
     install -Dm0644 CHANGELOG -t "$pkgdir/usr/share/doc/$pkgname/"
 
+    install -dm0755 "$pkgdir/usr/share/bash-completion/completions" \
+                    "$pkgdir/usr/share/zsh/site-functions" \
+                    "$pkgdir/usr/share/fish/completions"
+    install -Dm0644 etc/completions/j4-dmenu-desktop -t \
+        "$pkgdir/usr/share/bash-completion/completions"
+    install -Dm0644 etc/completions/_j4-dmenu-desktop -t \
+        "$pkgdir/usr/share/zsh/site-functions"
+    install -Dm0644 etc/completions/j4-dmenu-desktop.fish -t \
+        "$pkgdir/usr/share/fish/completions"
+
+
     install -dm0755 "$pkgdir/usr/share/man/man1"
     gzip < j4-dmenu-desktop.1 > 
"$pkgdir/usr/share/man/man1/j4-dmenu-desktop.1.gz"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/j4-dmenu-desktop/-/commit/1c432b70fff8f8eca00ae1ac1e97fef650ca19c7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/j4-dmenu-desktop/-/commit/1c432b70fff8f8eca00ae1ac1e97fef650ca19c7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to