void-packages/srcpkgs/brotli/template

26 lines
637 B
Bash
Raw Normal View History

2016-07-21 18:14:13 +02:00
# Template file for 'brotli'
pkgname=brotli
2017-04-11 18:32:31 +02:00
version=0.6.0
2016-07-21 18:14:13 +02:00
revision=1
2016-08-11 12:18:29 +02:00
build_style=cmake
2016-07-21 18:14:13 +02:00
short_desc="Generic-purpose lossless compression algorithm"
2017-04-11 18:32:31 +02:00
maintainer="Leah Neukirchen <leah@vuxu.org>"
2016-07-21 18:14:13 +02:00
license="MIT"
homepage="https://github.com/google/brotli"
distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
2017-04-11 18:32:31 +02:00
checksum=69cdbdf5709051dd086a2f020f5abf9e32519eafe0ad6be820c667c3a9c9ee0f
2016-07-21 18:14:13 +02:00
2016-08-11 12:18:29 +02:00
post_install() {
vlicense LICENSE
2016-07-21 18:14:13 +02:00
}
2017-04-11 18:32:31 +02:00
brotli-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}