New package: libidn2-2.0.5

This commit is contained in:
Rasmus Thomsen 2018-12-15 17:27:23 +01:00 committed by maxice8
parent ac70017baf
commit 5afc6e99ca
3 changed files with 33 additions and 0 deletions

View file

@ -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

1
srcpkgs/libidn2-devel Symbolic link
View file

@ -0,0 +1 @@
libidn2

31
srcpkgs/libidn2/template Normal file
View file

@ -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 <rasmus.thomsen@protonmail.com>"
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"
}
}