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


Commits:
3c5971e3 by David Runge at 2023-09-03T16:22:07+02:00
upgpkg: 1.99-1

Add all direct dependencies.
Use bash arrays with one entry per line for better handling.
Use correct SPDX license identifier (GPL-3.0-or-later) for project.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -4,21 +4,42 @@
 # Contributor: VuDu <vudu.cu...@gmail.com>
 
 pkgname=nfoview
-pkgver=1.29
-_commit=84dc60c423506ad0a8411f3552429fb080f97260
-pkgrel=2
+pkgver=1.99
+_commit=839fbd127765b1d608e3587321e0464d97adb4a2  # refs/tags/1.99
+pkgrel=1
 pkgdesc="Simple NFO file viewer in GTK+ 3"
 arch=(any)
 url="https://otsaloma.io/nfoview/";
-license=(GPL3)
-depends=(gtk3 python-gobject)
-checkdepends=(python-pytest xorg-server-xvfb)
-makedepends=(git python-build python-installer python-setuptools python-wheel)
+license=(GPL-3.0-or-later)
+depends=(
+  gobject-introspection-runtime
+  gtk4
+  hicolor-icon-theme
+  pango
+  python
+  python-gobject
+)
+checkdepends=(
+  python-pytest
+  xorg-server-xvfb
+)
+makedepends=(
+  git
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
 optdepends=('terminus-font: recommended font')
 
source=($pkgname::git+https://github.com/otsaloma/$pkgname.git#tag=$_commit?signed)
 sha512sums=('SKIP')
 validpgpkeys=('8DD6B3FCDAB33C91EA915B913A584A9504CACA67') # Osmo Salomaa 
<otsal...@iki.fi>
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
 build() {
   make -C $pkgname
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/nfoview/-/commit/3c5971e38edad334c2fb248cf5cbd9fe7d2f6465

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


Reply via email to