diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/brotli/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/brotli/MAKEPKG')
| -rw-r--r-- | libs/brotli/MAKEPKG | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libs/brotli/MAKEPKG b/libs/brotli/MAKEPKG new file mode 100644 index 0000000..aa10de1 --- /dev/null +++ b/libs/brotli/MAKEPKG @@ -0,0 +1,30 @@ +#!/bin/mkpkg +# description: Brotli compression library +# url: https://github.com/google/brotli + +name=brotli +version=1.2.0 +release=1 +depends=() +source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz) +sha256sums=( + "816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec" +) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D BUILD_SHARED_LIBS=ON + + cmake --build build + DESTDIR=$PKG cmake --install build +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
