summaryrefslogtreecommitdiff
path: root/libs/brotli/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/brotli/MAKEPKG
downloadports-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/MAKEPKG30
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