pgn-extract: update to 18.10.

This commit is contained in:
Piotr Wójcik 2018-12-08 17:24:31 +01:00 committed by maxice8
parent d1bdfa4a50
commit 007fc2e39f
2 changed files with 7 additions and 5 deletions

View file

@ -1,16 +1,17 @@
# Template file for 'pgn-extract'
pkgname=pgn-extract
version=17.55
version=18.10
revision=1
wrksrc="${pkgname}"
wrksrc="pgn-extract"
build_style=gnu-makefile
make_use_env=yes
short_desc="Portable Game Notation (PGN) Manipulator for Chess Games"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/"
license="GPL-3"
distfiles="ftp://ftp.cs.kent.ac.uk/pub/djb/pgn-extract/${pkgname}.tgz"
checksum=5413393ec989bdb6b3e042437cc6efd076ef4cd4758def0d0cf05eac9e5de34d
changelog="https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/changes.html"
distfiles="https://www.cs.kent.ac.uk/~djb/pgn-extract/pgn-extract.tgz"
checksum=a52fb4150da7064f8846d8606c1d7548d677ff2fa16571dc030726bb6cfe0d08
post_extract() {
sed -i '/^CC=/d' Makefile

View file

@ -0,0 +1 @@
pattern='((?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b)|(ersion\s*\K[-.\d]+)'