[arch-commits] Commit in nfoview/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 19:56:36 UTC 2020
Date: Thursday, November 12, 2020 @ 19:56:35
Author: foutrelis
Revision: 753693
archrelease: copy trunk to community-staging-any
Added:
nfoview/repos/community-staging-any/
nfoview/repos/community-staging-any/PKGBUILD
(from rev 753692, nfoview/trunk/PKGBUILD)
nfoview/repos/community-staging-any/x-nfo.desktop
(from rev 753692, nfoview/trunk/x-nfo.desktop)
---------------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
x-nfo.desktop | 7 +++++++
2 files changed, 58 insertions(+)
Copied: nfoview/repos/community-staging-any/PKGBUILD (from rev 753692, nfoview/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:56:35 UTC (rev 753693)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Wes Brewer <brewerw at gmail.com>
+# Contributor: VuDu <vudu.curse at gmail.com>
+
+pkgname=nfoview
+pkgver=1.28
+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-setuptools')
+optdepends=('terminus-font: recommended font')
+source=("${pkgname}::git+https://github.com/otsaloma/${pkgname}.git#tag=${pkgver}?signed"
+ 'x-nfo.desktop')
+sha512sums=('SKIP'
+ 'a800af55df103ee12ce7a8815780e15896d7ad3eee947760ff4486ffb57fea8cf4105b5ffc61dc81e849ddf03eeac77f593a4ffe4fd73b5ea026672c72dff108')
+validpgpkeys=('8DD6B3FCDAB33C91EA915B913A584A9504CACA67') # Osmo Salomaa <otsaloma at iki.fi>
+
+prepare() {
+ mv -v "${pkgname}" "${pkgname}-${pkgver}"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ xvfb-run pytest -v "${pkgname}"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ # docs
+ install -vDm 644 {AUTHORS,NEWS,README,TODO}.md \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+
+ install -vDm 644 "${srcdir}/x-nfo.desktop" \
+ -t "${pkgdir}/usr/share/mimelnk/text/"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: nfoview/repos/community-staging-any/x-nfo.desktop (from rev 753692, nfoview/trunk/x-nfo.desktop)
===================================================================
--- community-staging-any/x-nfo.desktop (rev 0)
+++ community-staging-any/x-nfo.desktop 2020-11-12 19:56:35 UTC (rev 753693)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Comment=NFO document
+DefaultApp=nfoview
+Type=MimeType
+MimeType=text/x-nfo
+Patterns=*.nfo;
+X-KDE-AutoEmbed=false
\ No newline at end of file
More information about the arch-commits
mailing list