void-packages/srcpkgs/uchardet/template

24 lines
722 B
Bash

# Template file for 'uchardet'
pkgname=uchardet
version=0.0.8
revision=1
build_style=cmake
short_desc="Encoding detector library ported from Mozilla"
maintainer="John <me@johnnynator.dev>"
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=e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0
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
}
}