Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion srcpkgs/brotli/template
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Template file for 'brotli'
pkgname=brotli
version=1.2.0
revision=1
revision=2
build_style=cmake
configure_args="-DBROTLI_BUILD_FOR_PACKAGE=ON"
short_desc="Generic-purpose lossless compression algorithm"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
Expand All @@ -12,6 +13,11 @@ checksum=816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec

post_install() {
vlicense LICENSE

# Drop the -static suffix from static libs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Upstream picks the name; if there is not a compelling reason to override it, it should remain as they intend.

for p in ${DESTDIR}/usr/lib/*-static.a; do
mv -v ${p} ${p%-static.a}.a
done
}

brotli-devel_package() {
Expand All @@ -20,6 +26,7 @@ brotli-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}