From 3df901f705607d2ebcaea3a00fd366223f864fb9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 5 Mar 2018 07:54:54 -0300 Subject: [PATCH] libunibreak: update to 4.0. --- common/shlibs | 2 +- srcpkgs/libunibreak/template | 13 +++++++++---- srcpkgs/libunibreak/update | 2 ++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/libunibreak/update diff --git a/common/shlibs b/common/shlibs index 7fb58ec406e..a574fc499f8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2314,7 +2314,7 @@ libfann.so.2 fann-2.2.0_1 libdoublefann.so.2 fann-2.2.0_1 libxerces-c-3.1.so XQilla-2.3.3_2 libxerces-c-3.2.so libxerces-c-3.2.0_1 -libunibreak.so.1 libunibreak-1.0_1 +libunibreak.so.3 libunibreak-4.0_1 libgconfmm-2.6.so.1 gconfmm-2.28.3_1 libiperf.so.0 iperf3-3.1.1_1 libkqueue.so.0 libkqueue-2.0.3_1 diff --git a/srcpkgs/libunibreak/template b/srcpkgs/libunibreak/template index 913c534b046..e9c1c6e1384 100644 --- a/srcpkgs/libunibreak/template +++ b/srcpkgs/libunibreak/template @@ -1,15 +1,20 @@ # Template file for 'libunibreak' pkgname=libunibreak -version=1.0 +version=4.0 revision=1 -_release=1 build_style=gnu-configure short_desc="An implementation of the Unicode line breaking algorithm" maintainer="Diogo Leal " -license="zlib, libpng" +license="zlib-acknowledgement" homepage=https://fbreader.org/content/fbreader-beta-linux-desktop"" distfiles="https://fbreader.org/files/desktop/libunibreak_${version}-${_release}.tar.gz" -checksum=d288deeb820c589e6df2d4ac14742bf8652663c34c4844ebf7d884132e488d6e +distfiles="https://github.com/adah1972/libunibreak/releases/download/${pkgname}_${version/./_}/${pkgname}-${version}.tar.gz" +checksum=f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539 + +do_check() { + # tests require wget and downloading from somewhere + : +} libunibreak-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libunibreak/update b/srcpkgs/libunibreak/update new file mode 100644 index 00000000000..075f1677550 --- /dev/null +++ b/srcpkgs/libunibreak/update @@ -0,0 +1,2 @@ +site="https://github.com/adah1972/libunibreak/releases" +pattern="$pkgname-\K[\d\.]*(?=\.tar\.gz)"