26 lines
637 B
Bash
26 lines
637 B
Bash
# Template file for 'brotli'
|
|
pkgname=brotli
|
|
version=1.0.2
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Generic-purpose lossless compression algorithm"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/google/brotli"
|
|
distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=c2cf2a16646b44771a4109bb21218c8e2d952babb827796eb8a800c1f94b7422
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
brotli-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|