23 lines
722 B
Bash
23 lines
722 B
Bash
# Template file for 'uchardet'
|
|
pkgname=uchardet
|
|
version=0.0.7
|
|
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=3fc79408ae1d84b406922fa9319ce005631c95ca0f34b205fad867e8b30e45b1
|
|
|
|
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
|
|
}
|
|
}
|