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

Jelle van der Waa jelle at archlinux.org
Sun Sep 20 15:10:55 UTC 2015


    Date: Sunday, September 20, 2015 @ 17:10:54
  Author: jelle
Revision: 141290

archrelease: copy trunk to community-staging-any

Added:
  nfoview/repos/community-staging-any/
  nfoview/repos/community-staging-any/PKGBUILD
    (from rev 141289, nfoview/trunk/PKGBUILD)
  nfoview/repos/community-staging-any/nfoview.install
    (from rev 141289, nfoview/trunk/nfoview.install)
  nfoview/repos/community-staging-any/x-nfo.desktop
    (from rev 141289, nfoview/trunk/x-nfo.desktop)

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 nfoview.install |   13 +++++++++++++
 x-nfo.desktop   |    7 +++++++
 3 files changed, 51 insertions(+)

Copied: nfoview/repos/community-staging-any/PKGBUILD (from rev 141289, nfoview/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 15:10:54 UTC (rev 141290)
@@ -0,0 +1,31 @@
+# $Id$
+# 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.16
+pkgrel=2
+pkgdesc="Simple NFO file viewer in GTK+ 3"
+arch=('any')
+url="http://otsaloma.github.io/nfoview/"
+license=('GPL3')
+depends=('gtk3' 'python-gobject' 'desktop-file-utils')
+makedepends=('intltool')
+optdepends=('terminus-font: recommended font')
+install=$pkgname.install
+source=("https://github.com/otsaloma/$pkgname/archive/$pkgver.tar.gz"
+        'x-nfo.desktop')
+md5sums=('5683ccf049761dda7f1b9a68aae4a39f'
+         '29d0ad75aeecfaf21965c01173d23e48')
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python3 ./setup.py install --root "$pkgdir" --optimize 1
+
+  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-staging-any/nfoview.install (from rev 141289, nfoview/trunk/nfoview.install)
===================================================================
--- community-staging-any/nfoview.install	                        (rev 0)
+++ community-staging-any/nfoview.install	2015-09-20 15:10:54 UTC (rev 141290)
@@ -0,0 +1,13 @@
+post_install() {
+  echo "  > Updating desktop database..."
+  update-desktop-database -q usr/share/applications
+  gtk-update-icon-cache
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: nfoview/repos/community-staging-any/x-nfo.desktop (from rev 141289, nfoview/trunk/x-nfo.desktop)
===================================================================
--- community-staging-any/x-nfo.desktop	                        (rev 0)
+++ community-staging-any/x-nfo.desktop	2015-09-20 15:10:54 UTC (rev 141290)
@@ -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