[arch-commits] Commit in nfoview/repos (3 files)

David Runge dvzrv at archlinux.org
Wed Jan 10 14:29:17 UTC 2018


    Date: Wednesday, January 10, 2018 @ 14:29:17
  Author: dvzrv
Revision: 281028

archrelease: copy trunk to community-testing-any

Added:
  nfoview/repos/community-testing-any/
  nfoview/repos/community-testing-any/PKGBUILD
    (from rev 281027, nfoview/trunk/PKGBUILD)
  nfoview/repos/community-testing-any/x-nfo.desktop
    (from rev 281027, nfoview/trunk/x-nfo.desktop)

---------------+
 PKGBUILD      |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 x-nfo.desktop |    7 +++++++
 2 files changed, 54 insertions(+)

Copied: nfoview/repos/community-testing-any/PKGBUILD (from rev 281027, nfoview/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-01-10 14:29:17 UTC (rev 281028)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Wes Brewer <brewerw at gmail.com>
+# Contributor: VuDu <vudu.curse at gmail.com>
+
+pkgname=nfoview
+pkgver=1.23
+pkgrel=1
+pkgdesc="Simple NFO file viewer in GTK+ 3"
+arch=('any')
+url="https://otsaloma.io/nfoview/"
+license=('GPL3')
+depends=('gtk3' 'python-gobject')
+optdepends=('terminus-font: recommended font')
+source=("https://github.com/otsaloma/${pkgname}/archive/${pkgver}.tar.gz"
+        'x-nfo.desktop')
+sha512sums=('b94724e130cdf58b911634496c52361d008ebfafab3ac40a76612c4891737d4145596a6badc15fe4228c90c1cd7261e5a892e3e462070ebb55f71332b36345d7'
+            'a800af55df103ee12ce7a8815780e15896d7ad3eee947760ff4486ffb57fea8cf4105b5ffc61dc81e849ddf03eeac77f593a4ffe4fd73b5ea026672c72dff108')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+
+  install -Dm644 AUTHORS.md \
+    "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS.md"
+  install -Dm644 NEWS.md \
+    "${pkgdir}/usr/share/doc/${pkgname}/NEWS.md"
+  install -Dm644 README.md \
+    "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm644 TODO.md \
+    "${pkgdir}/usr/share/doc/${pkgname}/TODO.md"
+
+  install -Dm644 "${srcdir}/x-nfo.desktop" \
+    "${pkgdir}/usr/share/mimelnk/text/x-nfo.desktop"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: nfoview/repos/community-testing-any/x-nfo.desktop (from rev 281027, nfoview/trunk/x-nfo.desktop)
===================================================================
--- community-testing-any/x-nfo.desktop	                        (rev 0)
+++ community-testing-any/x-nfo.desktop	2018-01-10 14:29:17 UTC (rev 281028)
@@ -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