diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 22 insertions, 8 deletions
@@ -1,20 +1,23 @@ pkgbase = quasselgrep-git pkgdesc = Tool for searching quassel logs from the commandline pkgver = r95.g9b6b0bc - pkgrel = 3 + pkgrel = 4 url = https://github.com/fish-face/quasselgrep arch = any - license = GPL + license = GPL-2.0-or-later makedepends = git depends = python depends = python-setuptools depends = python-dateutil - depends = python-future depends = python-pycryptodome optdepends = python-psycopg2: Connect to postgres databases provides = quasselgrep=r95.g9b6b0bc conflicts = quasselgrep source = git+https://github.com/fish-face/quasselgrep.git + source = quasselgrep-timestamps.patch::https://patch-diff.githubusercontent.com/raw/fish-face/quasselgrep/pull/22.patch + source = quasselgrep-py3.7.patch::https://patch-diff.githubusercontent.com/raw/fish-face/quasselgrep/pull/26.patch sha256sums = SKIP + sha256sums = 398faf15be411720f2859453a3c16ddbe8cb708c35899dfbf694dbeff6ad6598 + sha256sums = e45de4a40ef349d1c53442c69d1c5f139d1d3ec5e5d4d807e9defec4487cb8c5 pkgname = quasselgrep-git @@ -3,18 +3,22 @@ _pkgname=quasselgrep pkgname=$_pkgname-git pkgver=r95.g9b6b0bc -pkgrel=3 +pkgrel=4 pkgdesc='Tool for searching quassel logs from the commandline' arch=('any') url='https://github.com/fish-face/quasselgrep' -license=('GPL') -depends=('python' 'python-setuptools' 'python-dateutil' 'python-future' 'python-pycryptodome') +license=('GPL-2.0-or-later') +depends=('python' 'python-setuptools' 'python-dateutil' 'python-pycryptodome') makedepends=('git') optdepends=('python-psycopg2: Connect to postgres databases') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") -source=('git+https://github.com/fish-face/quasselgrep.git') -sha256sums=('SKIP') +source=('git+https://github.com/fish-face/quasselgrep.git' + 'quasselgrep-timestamps.patch::https://patch-diff.githubusercontent.com/raw/fish-face/quasselgrep/pull/22.patch' + 'quasselgrep-py3.7.patch::https://patch-diff.githubusercontent.com/raw/fish-face/quasselgrep/pull/26.patch') +sha256sums=('SKIP' + '398faf15be411720f2859453a3c16ddbe8cb708c35899dfbf694dbeff6ad6598' + 'e45de4a40ef349d1c53442c69d1c5f139d1d3ec5e5d4d807e9defec4487cb8c5') pkgver() { cd $_pkgname @@ -22,6 +26,13 @@ pkgver() { printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd $_pkgname + + patch -Np1 < ../quasselgrep-timestamps.patch + patch -Np1 < ../quasselgrep-py3.7.patch +} + package() { cd $_pkgname |