void-packages/srcpkgs/uchardet/template

24 lines
720 B
Bash

# Template file for 'uchardet'
pkgname=uchardet
version=0.0.6
revision=1
build_style=cmake
short_desc="Encoding detector library ported from Mozilla"
maintainer="John <johnz@posteo.net>"
license="MPL-1.1"
homepage="https://www.freedesktop.org/wiki/Software/uchardet"
changelog="https://cgit.freedesktop.org/uchardet/uchardet/tag/?id=v${version}"
distfiles="$FREEDESKTOP_SITE/uchardet/releases/uchardet-${version}.tar.xz"
checksum=8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61
uchardet-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}