diff options
author | Strit | 2018-02-22 06:22:34 +0100 |
---|---|---|
committer | Strit | 2018-02-22 06:22:34 +0100 |
commit | b4d3b874271141348b7593201291a34c372a2f2f (patch) | |
tree | aa3cb20edf9dfb1e63902c3917f495b8f57664e2 | |
parent | 4279e893a6b5057cb9a55d07c4520f76b8a6f714 (diff) | |
download | aur-b4d3b874271141348b7593201291a34c372a2f2f.tar.gz |
huge update to griffith 0.15, which is GTK3 based!
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 66 |
2 files changed, 31 insertions, 71 deletions
@@ -1,31 +1,25 @@ +# Generated by mksrcinfo v8 +# Thu Feb 22 05:22:27 UTC 2018 pkgbase = griffith pkgdesc = Movie collection manager application - pkgver = 0.13 - pkgrel = 14 - url = http://www.griffith.cc/ + pkgver = 0.15 + pkgrel = 1 + url = https://gitlab.com/Strit/griffith arch = any license = GPL2 - depends = pygtk + depends = python-gobject depends = sqlite - depends = python2-pysqlite - depends = python2-reportlab - depends = python2-pillow - depends = python2-sqlalchemy - optdepends = python2-psycopg2: postgreSQL support + depends = python-reportlab + depends = python-pillow + depends = python-sqlalchemy + optdepends = python-psycopg2: postgreSQL support optdepends = mysql-python: MySQL support - optdepends = python2-chardet: encoding detection of imported CSV files - optdepends = python2-gtkspell: spell checking support + optdepends = python-chardet: encoding detection of imported CSV files + optdepends = python-gtkspell: spell checking support optdepends = griffith-extra-artwork: additional icons - source = http://launchpad.net/griffith/trunk/0.13/+download/griffith-0.13.tar.gz - source = https://raw.githubusercontent.com/ValHue/AUR-PKGBUILDs/master/griffith/validators.py - source = https://raw.githubusercontent.com/ValHue/AUR-PKGBUILDs/master/griffith/movie_py.patch - source = http://www.strits.dk/files/PluginMovieIMDB.py - source = http://www.strits.dk/files/PluginExportPDF.py - sha256sums = 60576d33aa855ab45d654288d7bf2ead8accecb72fd2acbc373656294ab8f242 - sha256sums = f5e0b43c6ee56148b55cc650599c96b7774491867d38b47278bc121bf33fb9af - sha256sums = 3772e6068299427b6f1b3f7ffc454a593419fa7f501c833b3a14ae95538ac859 - sha256sums = c1f1c5dbe0b975f15a6d0265e53b993390eb33aca2011f2e0d390b326a017a21 - sha256sums = 24f0f2deab05920911b24188605ab8b52c7c6696cb5ae80d71c22d749799b9e7 + optdepends = python-tmdbsimple: For TMDB Import support + source = griffith-0.15-1.tar.gz::https://gitlab.com/Strit/griffith/repository/0.15/archive.tar.gz + sha256sums = SKIP pkgname = griffith @@ -8,71 +8,37 @@ # 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.13 -pkgrel=14 +pkgver=0.15 +pkgrel=1 +_gitcommit=05b5803f770818d6309b0946e77de6e523b51fc9 pkgdesc="Movie collection manager application" arch=('any') -url="http://www.griffith.cc/" +url="https://gitlab.com/Strit/griffith" license=('GPL2') -depends=('pygtk' 'sqlite' 'python2-pysqlite' \ - 'python2-reportlab' 'python2-pillow' 'python2-sqlalchemy' -) -optdepends=('python2-psycopg2: postgreSQL support' +depends=('python-gobject' 'sqlite' 'python-reportlab' 'python-pillow' 'python-sqlalchemy') +optdepends=('python-psycopg2: postgreSQL support' 'mysql-python: MySQL support' - 'python2-chardet: encoding detection of imported CSV files' - 'python2-gtkspell: spell checking support' + 'python-chardet: encoding detection of imported CSV files' + 'python-gtkspell: spell checking support' 'griffith-extra-artwork: additional icons' -) -source=("http://launchpad.net/${pkgname}/trunk/0.13/+download/${pkgname}-${pkgver}.tar.gz" - "https://raw.githubusercontent.com/ValHue/AUR-PKGBUILDs/master/griffith/validators.py" - "https://raw.githubusercontent.com/ValHue/AUR-PKGBUILDs/master/griffith/movie_py.patch" - "http://www.strits.dk/files/PluginMovieIMDB.py" - "http://www.strits.dk/files/PluginExportPDF.py" -) -sha256sums=('60576d33aa855ab45d654288d7bf2ead8accecb72fd2acbc373656294ab8f242' - 'f5e0b43c6ee56148b55cc650599c96b7774491867d38b47278bc121bf33fb9af' - '3772e6068299427b6f1b3f7ffc454a593419fa7f501c833b3a14ae95538ac859' - 'c1f1c5dbe0b975f15a6d0265e53b993390eb33aca2011f2e0d390b326a017a21' - '24f0f2deab05920911b24188605ab8b52c7c6696cb5ae80d71c22d749799b9e7' -) + 'python-tmdbsimple: For TMDB Import support') +source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/repository/$pkgver/archive.tar.gz") +sha256sums=('SKIP') build() { - cd "${pkgname}-${pkgver}" - - # python2 fix - sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' griffith + #cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}-${_gitcommit}" # new bash_completion directory sed -e 's,BASHCOMPDIR = $(ETCDIR)/bash_completion.d,BASHCOMPDIR = $(PREFIX)/share/bash-completion/completions,' -i Makefile - - # The version 0.13.0 of griffith isn't compatible with SqlAlchemy 0.8. - # http://forum.griffith.cc/index.php/topic,1601.msg5317.html#msg5317 - cp -f ../validators.py ./lib/db/validators.py - - ## Thanks to Strit - # Update PluginMovieIMDB.py to version 1.15 - # http://www.strits.dk/files/PluginMovieIMDB.py - cp -f ../PluginMovieIMDB.py ./lib/plugins/movie/PluginMovieIMDB.py - - # Update PluginExportPDF.py - # http://www.strits.dk/files/PluginExportPDF.py - cp -f ../PluginExportPDF.py ./lib/plugins/export/PluginExportPDF.py - - # Fix dependencies version - sed -i '65,83d' griffith - - # Fix to AttributeError: 'module' object has no attribute 'glade' - sed -i "35i\import gtk.glade" ./lib/initialize.py - - # Fix to import movie info - cd ./lib - patch < ${srcdir}/movie_py.patch } package() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}-${_gitcommit}" make DESTDIR=${pkgdir} install |