Date: Tuesday, July 7, 2020 @ 16:27:05 Author: bgyorgy Revision: 659249
Move griffith from AUR with 13 votes Added: griffith/ griffith/trunk/ griffith/trunk/PKGBUILD griffith/trunk/build.patch griffith/trunk/griffith.appdata.xml ----------------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++ build.patch | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ griffith.appdata.xml | 28 ++++++++++++++++++++++ 3 files changed, 127 insertions(+) Added: griffith/trunk/PKGBUILD =================================================================== --- griffith/trunk/PKGBUILD (rev 0) +++ griffith/trunk/PKGBUILD 2020-07-07 16:27:05 UTC (rev 659249) @@ -0,0 +1,37 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Strit <danjohansen at strits dot dk> +# Contributor: ValHue <vhuelamo at gmail dot com> +# Contributor: Jaroslav Lichtblau <dragonlord at aur dot archlinux dot org> +# Contributor: Daniel J Griffiths <ghost1227 at archlinux dot us> +# Contributor: Ronald van Haren <ronald at archlinux dot org> +# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail dot com> +# Contributor: Pawel Rusinek <p.rusinek at gmail dot com> +# Contributor: Jashua Gentry <https://gitlab.com/pixel293> +# Contributor: John Cheetham <https://gitlab.com/johncheetham> + +pkgname=griffith +pkgver=0.15 +pkgrel=4 +pkgdesc="Movie collection manager application" +arch=(any) +url="https://gitlab.com/Strit/griffith" +license=(GPL2) +depends=(gtkspell3 python-chardet python-gobject python-pillow python-reportlab python-sqlalchemy) +source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz" + "build.patch" + "griffith.appdata.xml") +sha256sums=('a8b0b9a8973d6906327af2d51b097b0c6806a7926e164ca5693f53ff4247899c' + '16fa6f25863a5e040b6d7e8e251ff172c0614a33b6bf7ae1f3f159a67ec0ed9c' + '2556b99b18e2d53ca1e96c9d0edded9673c80020f9f832faf343eb1a71632f20') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../build.patch + sed -i 's|https://github.com/Strit|https://gitlab.com/Strit|' griffith +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" +} Added: griffith/trunk/build.patch =================================================================== --- griffith/trunk/build.patch (rev 0) +++ griffith/trunk/build.patch 2020-07-07 16:27:05 UTC (rev 659249) @@ -0,0 +1,62 @@ +diff --git a/Makefile b/Makefile +index 38104ee..afb4f9b 100755 +--- a/Makefile ++++ b/Makefile +@@ -22,7 +22,6 @@ DOC2MAN ?= docbook2x-man + + PREFIX ?= $(DESTDIR)/usr + BINDIR = $(PREFIX)/bin +-ETCDIR = $(DESTDIR)/etc + DATADIR = $(PREFIX)/share/griffith + LIBDIR = $(DATADIR)/lib + IMAGESDIR = $(DATADIR)/images +@@ -34,9 +33,9 @@ IMPORTPLUGINSDIR = $(PLUGINSDIR)/imp + EXTENSIONSPLUGINSDIR = $(PLUGINSDIR)/extensions + TPLDIR = $(DATADIR)/export_templates + APPLICATIONSDIR = $(PREFIX)/share/applications +-ICONDIR = $(PREFIX)/share/pixmaps ++ICONDIR = $(PREFIX)/share/icons/hicolor/scalable/apps + LOCALEDIR = $(PREFIX)/share/locale +-BASHCOMPDIR = $(ETCDIR)/bash_completion.d ++BASHCOMPDIR = $(PREFIX)/share/bash-completion/completions + + help: + @echo Usage: +@@ -56,7 +55,7 @@ install: + $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(LIBDIR)/db \ + $(PLUGINSDIR) $(MOVIEPLUGINSDIR) $(EXPORTPLUGINSDIR) $(IMPORTPLUGINSDIR) $(EXTENSIONSPLUGINSDIR) \ + $(FONTSDIR) $(APPLICATIONSDIR) $(ICONDIR) $(TPLDIR) \ +- $(IMAGESDIR) $(GLADEDIR) $(ETCDIR) $(BASHCOMPDIR) ++ $(IMAGESDIR) $(GLADEDIR) $(BASHCOMPDIR) + $(INSTALL) -m 755 griffith $(LIBDIR) + $(INSTALL) -m 644 lib/*.py $(LIBDIR) + $(INSTALL) -m 644 lib/db/*.py $(LIBDIR)/db/ +@@ -68,8 +67,7 @@ install: + $(INSTALL) -m 644 glade/*.ui $(GLADEDIR) + $(INSTALL) -m 644 glade/*.png $(GLADEDIR) + $(INSTALL) -m 644 images/*.png $(IMAGESDIR) +- $(INSTALL) -m 644 images/griffith.png $(ICONDIR) +- $(INSTALL) -m 644 images/griffith.xpm $(ICONDIR) ++ $(INSTALL) -m 644 images/griffith.svg $(ICONDIR) + $(INSTALL) -m 644 data/griffith.desktop $(APPLICATIONSDIR) + $(INSTALL) -m 644 data/bash_completion $(BASHCOMPDIR)/griffith + +@@ -88,7 +86,7 @@ install: + + if test -f $(PREFIX)/bin/griffith; then ${RM} $(PREFIX)/bin/griffith; fi + +- ln -s $(LIBDIR)/griffith $(BINDIR)/griffith ++ ln -s ../share/griffith/lib/griffith $(BINDIR)/griffith + chmod +x $(BINDIR)/griffith + $(MAKE) -C docs install + +@@ -106,8 +104,7 @@ uninstall: + ${RM} -r $(IMAGESDIR) + ${RM} -r $(GLADEDIR) + ${RM} -r $(DATADIR) +- ${RM} -r $(ICONDIR)/griffith.png +- ${RM} -r $(ICONDIR)/griffith.xpm ++ ${RM} -r $(ICONDIR)/griffith.svg + ${RM} -r $(APPLICATIONSDIR)/griffith.desktop + for lang in $(LANGUAGES); do \ + ${RM} -r $(LOCALEDIR)/$$lang/LC_MESSAGES/griffith.mo; \ Added: griffith/trunk/griffith.appdata.xml =================================================================== --- griffith/trunk/griffith.appdata.xml (rev 0) +++ griffith/trunk/griffith.appdata.xml 2020-07-07 16:27:05 UTC (rev 659249) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop"> + <id>griffith.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-2.0</project_license> + <name>Griffith</name> + <summary>Movie collection manager</summary> + <description> + <p>Griffith is a film collection manager with ease of use in mind.</p> + <ul> + <li>Fetch film information from the web using a plugin system</li> + <li>Automatic numbering</li> + <li>Backup/restore functions</li> + <li>Exports listings to PDF and CSV files</li> + <li>Generates a PDF with film's cover</li> + <li>Clone film information</li> + <li>Loans management</li> + <li>View filtering</li> + </ul> + </description> + <screenshots> + <screenshot type="default"> + <image>https://screenshots.debian.net/screenshots/000/000/022/large.png</image> + </screenshot> + </screenshots> + <url type="homepage">https://gitlab.com/Strit/griffith</url> + <url type="bugtracker">https://gitlab.com/Strit/griffith/issues</url> +</component>