void-packages/srcpkgs/libidn2/template

29 lines
889 B
Bash

# Template file for 'libidn2'
pkgname=libidn2
version=2.3.3
revision=1
build_style=gnu-configure
hostmakedepends="gettext-devel libtool pkg-config gtk-doc"
makedepends="libunistring-devel"
short_desc="Internationalized string handling library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later, LGPL-3.0-or-later"
homepage="https://www.gnu.org/software/libidn/#libidn2"
changelog="https://gitlab.com/libidn/libidn2/-/raw/master/NEWS"
distfiles="${GNU_SITE}/libidn/libidn2-${version}.tar.gz"
checksum=f3ac987522c00d33d44b323cae424e2cffcb4c63c6aa6cd1376edacbf1c36eb0
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"
}
}