Date: Thursday, April 6, 2023 @ 16:22:03
Author: felixonmars
Revision: 1439590
archrelease: copy trunk to community-staging-any
Added:
nfoview/repos/community-staging-any/
nfoview/repos/community-staging-any/PKGBUILD
(from rev 1439585, nfoview/trunk/PKGBUILD)
nfoview/repos/community-staging-any/keys/
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: nfoview/repos/community-staging-any/PKGBUILD (from rev 1439585,
nfoview/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 16:22:03 UTC (rev 1439590)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: Wes Brewer <[email protected]>
+# Contributor: VuDu <[email protected]>
+
+pkgname=nfoview
+pkgver=1.29
+_commit=84dc60c423506ad0a8411f3552429fb080f97260
+pkgrel=2
+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)
+optdepends=('terminus-font: recommended font')
+source=($pkgname::git+https://github.com/otsaloma/$pkgname.git#tag=$_commit?signed)
+sha512sums=('SKIP')
+validpgpkeys=('8DD6B3FCDAB33C91EA915B913A584A9504CACA67') # Osmo Salomaa
<[email protected]>
+
+build() {
+ make -C $pkgname
+}
+
+check() {
+ cd $pkgname
+ xvfb-run pytest -v $pkgname
+}
+
+package() {
+ make DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname
+ install -vDm 644 $pkgname/{AUTHORS,NEWS,README}.md -t
"$pkgdir/usr/share/doc/$pkgname/"
+}
+
+# vim:set ts=2 sw=2 et: