From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- core/zlib/MAKEPKG | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 core/zlib/MAKEPKG (limited to 'core/zlib/MAKEPKG') diff --git a/core/zlib/MAKEPKG b/core/zlib/MAKEPKG new file mode 100644 index 0000000..017579b --- /dev/null +++ b/core/zlib/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Compression library +# url: https://zlib.net + +name=zlib +version=1.3.2 +release=1 +source=(https://github.com/madler/zlib/releases/download/v$version/$name-$version.tar.gz) +depends=() +makedeps=() + +sha256sums=( + "bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16" +) + +build() { + cd $name-$version + CC=clang LDSHARED="clang -shared -Wl,-soname,libz.so.1" \ + ./configure \ + --prefix=/ \ + --includedir=/include \ + --libdir=/lib \ + --shared + make + make install DESTDIR=$PKG \ + mandir=/usr/share/man \ + pkgconfigdir=/lib/pkgconfig + rm -f $PKG/lib/*.a +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh -- cgit v1.3.1