27 lines
674 B
Bash
27 lines
674 B
Bash
# Template file for 'brotli'
|
|
pkgname=brotli
|
|
version=1.0.9
|
|
revision=2
|
|
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=f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
|
|
patch_args="-p1"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
brotli-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|