From 5afc6e99cabb04dd1d65f2f3b3add2254968a534 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sat, 15 Dec 2018 17:27:23 +0100 Subject: [PATCH] New package: libidn2-2.0.5 --- common/shlibs | 1 + srcpkgs/libidn2-devel | 1 + srcpkgs/libidn2/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/libidn2-devel create mode 100644 srcpkgs/libidn2/template diff --git a/common/shlibs b/common/shlibs index 001b2e08bd0..0c774e4fb54 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3358,3 +3358,4 @@ libwoff2enc.so.1.0.2 libwoff2enc1.0.2-1.0.2_1 libwoff2dec.so.1.0.2 libwoff2dec1.0.2-1.0.2_1 libcloudproviders.so.0 libcloudproviders-0.2.5_2 libKF5KDEGames.so.7 libkdegames-18.08.3_1 +libidn2.so.0 libidn2-2.0.5_1 diff --git a/srcpkgs/libidn2-devel b/srcpkgs/libidn2-devel new file mode 120000 index 00000000000..2997c0b6223 --- /dev/null +++ b/srcpkgs/libidn2-devel @@ -0,0 +1 @@ +libidn2 \ No newline at end of file diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template new file mode 100644 index 00000000000..4b685b6f8b9 --- /dev/null +++ b/srcpkgs/libidn2/template @@ -0,0 +1,31 @@ +# Template file for 'libidn2' +pkgname=libidn2 +version=2.0.5 +revision=1 +build_style=gnu-configure +hostmakedepends="automake gettext-devel libtool pkg-config" +makedepends="libunistring-devel" +short_desc="Internationalized string handling library" +maintainer="Rasmus Thomsen " +license="GPL-3.0-or-later, LGPL-3.0-or-later" +homepage="https://www.gnu.org/software/libidn/#libidn2" +distfiles="${GNU_SITE}/libidn/libidn2-${version}.tar.gz" +checksum=53f69170886f1fa6fa5b332439c7a77a7d22626a82ef17e2c1224858bb4ca2b8 + +pre_configure() { + autoreconf -if +} + +libidn2-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + vmove usr/share/gtk-doc + vmove usr/share/info + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}