[arch-commits] Commit in nfoview/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 15:57:03 UTC 2018
Date: Monday, July 23, 2018 @ 15:57:03
Author: foutrelis
Revision: 363090
archrelease: copy trunk to community-staging-any
Added:
nfoview/repos/community-staging-any/
nfoview/repos/community-staging-any/PKGBUILD
(from rev 363089, nfoview/trunk/PKGBUILD)
nfoview/repos/community-staging-any/x-nfo.desktop
(from rev 363089, nfoview/trunk/x-nfo.desktop)
---------------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
x-nfo.desktop | 7 +++++++
2 files changed, 50 insertions(+)
Copied: nfoview/repos/community-staging-any/PKGBUILD (from rev 363089, nfoview/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-23 15:57:03 UTC (rev 363090)
@@ -0,0 +1,43 @@
+# $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.24
+pkgrel=2
+pkgdesc="Simple NFO file viewer in GTK+ 3"
+arch=('any')
+url="https://otsaloma.io/nfoview/"
+license=('GPL3')
+depends=('gtk3' 'python-gobject')
+makedepends=('python-setuptools')
+optdepends=('terminus-font: recommended font')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/otsaloma/${pkgname}/archive/${pkgver}.tar.gz"
+ 'x-nfo.desktop')
+sha512sums=('91ad1f9f972b7681655b429c0910475012bd2231e51c6db5659b19fb869779d1de10dadc1d6461fa7d577c051af9b74f1d463543a429e1dca438a4ff17ac2293'
+ 'a800af55df103ee12ce7a8815780e15896d7ad3eee947760ff4486ffb57fea8cf4105b5ffc61dc81e849ddf03eeac77f593a4ffe4fd73b5ea026672c72dff108')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+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" \
+ "${pkgdir}/usr/share/mimelnk/text/x-nfo.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: nfoview/repos/community-staging-any/x-nfo.desktop (from rev 363089, nfoview/trunk/x-nfo.desktop)
===================================================================
--- community-staging-any/x-nfo.desktop (rev 0)
+++ community-staging-any/x-nfo.desktop 2018-07-23 15:57:03 UTC (rev 363090)
@@ -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