gucharmap: update to 11.0.2, fix update (#2347)

* gucharmap: update to 11.0.2.

* xbps-src: update-check: versions >=10 at ftp.gnome.org
This commit is contained in:
Piotr 2018-09-05 20:18:07 +02:00 committed by cr6git
parent c501918559
commit 205f75cefe
2 changed files with 26 additions and 18 deletions

View File

@ -57,7 +57,7 @@ update_check() {
url="https://bitbucket.org/$bbname/downloads"
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';;
*ftp.gnome.org*)
: ${pattern="\Q$pkgname\E-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
: ${pattern="\Q$pkgname\E-\K[0-9]+\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;

View File

@ -1,6 +1,6 @@
# Template file for 'gucharmap'
pkgname=gucharmap
version=9.0.4
version=11.0.2
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)
@ -11,23 +11,23 @@ makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="GNOME Unicode Charmap"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz
http://www.unicode.org/Public/9.0.0/ucd/Blocks.txt
http://www.unicode.org/Public/9.0.0/ucd/DerivedAge.txt
http://www.unicode.org/Public/9.0.0/ucd/NamesList.txt
http://www.unicode.org/Public/9.0.0/ucd/Scripts.txt
http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt
http://www.unicode.org/Public/9.0.0/ucd/Unihan.zip"
homepage="https://wiki.gnome.org/Apps/Gucharmap"
license="GPL-3.0-or-later, GFDL-1.3-only, Unicode-DFS-2015"
distfiles="${GNOME_SITE}/gucharmap/${version%.*}/gucharmap-${version}.tar.xz
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/Blocks.txt
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/DerivedAge.txt
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/NamesList.txt
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/Scripts.txt
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/UnicodeData.txt
http://www.unicode.org/Public/${version/.*/}.0.0/ucd/Unihan.zip"
skip_extraction="Blocks.txt DerivedAge.txt NamesList.txt Scripts.txt UnicodeData.txt Unihan.zip"
checksum="1588b2b183b843b24eb074fd0661bddb54f18876870ba475d65f35b7a9c677a0
612127d4889032e55d82522e4a0c19793bda8aa8da14ecb3c696d17c83e6be13
5cb15b04693c43df16e0d304deca049e93b001445d163184e0ff1b7c8c852146
eb15aa335aad1c65b9435a8bbbae28461ab641a2243bc41706da5f866e633e46
fba415952f5654145acad220dc2b878f815c673474d2bb4928934e3ba6ccca1d
68dfc414d28257b9b5d6ddbb8b466c768c00ebdf6cbf7784364a9b6cad55ee8f
6afdd48fb3c5d79a527ed27ce2582b2f684c09e16f5d0837fe7e5b0204f46362"
checksum="17e76eacd7c9e72fda21afc2da19d8c3f892814e36ae6f6f561a67bcf9bc9819
0b457b66c788a97c8521e265f0b793d4ed911356d39eb61029f9cef8554cd052
eb115a5de9a32c9ad447d6ea1cddcadb53d47f6cbc2521f3fe0bebb040c39866
683f8d7324e524d88b6006c47729d41893c498f963d0be46743942ec2c80227b
e9f3c0aa3c4f892b589c809cf4ae051a39921417cda6fefdbe43717b92db76d5
4997a3196eb79b4d0d6b8384560f6aeb46a062693f0abd5ba736abbff7976099
72079d9d64acd452e1496f67b975a82a989f0023f37aed092c51cf13567fc833"
# Package build options
build_options="gir"
@ -37,6 +37,14 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
LDFLAGS+=" -ldl"
post_install() {
vlicense COPYING
vlicense COPYING.GFDL
vlicense COPYING.UNICODE
}
gucharmap-devel_package() {
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"