diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 66 |
1 files changed, 16 insertions, 50 deletions
@@ -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 |