David Runge pushed to branch main at Arch Linux / Packaging / Packages / dialog


Commits:
cf94be5d by David Runge at 2026-01-20T18:36:28+01:00
Remove unnecessary quotes and curly braces

Signed-off-by: David Runge <[email protected]>

- - - - -
a5deb4f2 by David Runge at 2026-01-20T18:36:59+01:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
1a078d59 by David Runge at 2026-01-20T18:39:19+01:00
Run check

Signed-off-by: David Runge <[email protected]>

- - - - -
5a030327 by David Runge at 2026-01-20T18:43:18+01:00
Add nvchecker integration

Signed-off-by: David Runge <[email protected]>

- - - - -
b4f83626 by David Runge at 2026-01-20T18:44:05+01:00
Update maintainer info

Signed-off-by: David Runge <[email protected]>

- - - - -
6d349205 by David Runge at 2026-01-20T18:46:16+01:00
Consolidate direct dependencies

Signed-off-by: David Runge <[email protected]>

- - - - -
74189c50 by David Runge at 2026-01-20T18:50:08+01:00
Use local bash array for configure options

Signed-off-by: David Runge <[email protected]>

- - - - -
b7d419df by David Runge at 2026-01-20T18:51:43+01:00
Simplify make call in package

Signed-off-by: David Runge <[email protected]>

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,9 +5,10 @@ pkgbase = dialog
        epoch = 1
        url = https://invisible-island.net/dialog/
        arch = x86_64
-       license = LGPL2.1
-       depends = sh
+       license = LGPL-2.1-or-later
+       depends = glibc
        depends = ncurses
+       depends = sh
        provides = libdialog.so
        source = 
https://invisible-mirror.net/archives/dialog/dialog-1.3-20250116.tgz
        source = 
https://invisible-mirror.net/archives/dialog/dialog-1.3-20250116.tgz.asc


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,6 @@
+[dialog]
+source = "regex"
+regex = 'dialog-([\d.-]+)\..*?'
+from_pattern = "-"
+to_pattern = "_"
+url = "https://invisible-mirror.net/archives/dialog/";


=====================================
PKGBUILD
=====================================
@@ -1,4 +1,5 @@
-# Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: David Runge <[email protected]>
+# Contributor: Evangelos Foutras <[email protected]>
 # Contributor: Stéphane Gaudreault <[email protected]>
 # Contributor: Allan McRae <[email protected]>
 # Contributor: Andreas Radke <[email protected]>
@@ -8,30 +9,39 @@ pkgver=1.3_20250116
 pkgrel=1
 epoch=1
 pkgdesc="A tool to display dialog boxes from shell scripts"
-arch=('x86_64')
+arch=(x86_64)
 url="https://invisible-island.net/dialog/";
-license=('LGPL2.1')
-depends=('sh' 'ncurses')
-provides=('libdialog.so')
+license=(LGPL-2.1-or-later)
+depends=(
+  glibc
+  ncurses
+  sh
+)
+provides=(libdialog.so)
 
source=(https://invisible-mirror.net/archives/$pkgname/$pkgname-${pkgver/_/-}.tgz{,.asc})
 sha256sums=('68406329827b783d0a8959cc20a94c6e1791ac861a27f854e06e9020541816dd'
             'SKIP')
 validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas E. Dickey 
(self-signed w/o SHA1) <[email protected]>
 
 build() {
-  cd "$srcdir/$pkgname-${pkgver/_/-}"
-
-  ./configure \
-    --prefix=/usr \
-    --enable-nls \
-    --with-libtool \
+  local configure_options=(
+    --enable-nls
+    --prefix=/usr
+    --with-libtool
     --with-ncursesw
+  )
+
+  cd $pkgname-${pkgver/_/-}
+  ./configure "${configure_options[@]}"
   make
 }
 
+check() {
+  make -C $pkgname-${pkgver/_/-} -k check
+}
+
 package() {
-  cd "$srcdir/$pkgname-${pkgver/_/-}"
-  make DESTDIR="$pkgdir" install-full
+  make DESTDIR="$pkgdir" -C $pkgname-${pkgver/_/-} install
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dialog/-/compare/41ec545640dd0cd9d945f90eb75752cca8c48b31...b7d419df2f6cde028bb0f234a32a905a959f63f4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dialog/-/compare/41ec545640dd0cd9d945f90eb75752cca8c48b31...b7d419df2f6cde028bb0f234a32a905a959f63f4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to