David Runge pushed to branch main at Arch Linux / Packaging / Packages / zlib


Commits:
a15e0ee1 by David Runge at 2023-08-20T18:32:48+02:00
upgpkg: 1:1.3-1

Use upstream github release artifacts, as older release tarballs are seemingly 
YOLO removed from the project's website.
Consolidate dependencies (also for minizip).

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -5,20 +5,22 @@
 pkgbase=zlib
 pkgname=(zlib minizip)
 epoch=1
-pkgver=1.2.13
-pkgrel=3
+pkgver=1.3
+pkgrel=1
+pkgdesc='Compression library implementing the deflate compression method found 
in gzip and PKZIP'
 arch=(x86_64)
 license=(Zlib)
 url="https://www.zlib.net/";
-depends=(glibc)
 options=(
   staticlibs  # needed by binutils testsuite
   debug
 )
-source=(https://zlib.net/zlib-$pkgver.tar.gz{,.asc})
-sha256sums=('b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30'
+source=(https://github.com/madler/zlib/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz{,.asc})
+sha512sums=('3868ac4da5842dd36c9dad794930675b9082ce15cbd099ddb79c0f6bd20a24aa8f33a123f378f26fe0ae02d91f31f2994dccaac565cedeaffed7b315e6ded2a2'
             'SKIP')
-validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
+b2sums=('5fe0f32339267348a313f23a21e9588bdb180b7415be303c85f5f169444d019e5f176ef7322f6e64297c360acc2a6041c50e2f66d1860e5c392d8970990f176a'
+        'SKIP')
+validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')  # Mark Adler 
<[email protected]>
 
 prepare() {
   cd $pkgbase-$pkgver/contrib/minizip
@@ -46,7 +48,7 @@ check() {
 }
 
 package_zlib() {
-  pkgdesc='Compression library implementing the deflate compression method 
found in gzip and PKZIP'
+  depends=(glibc)
   provides=(libz.so)
 
   make install DESTDIR="$pkgdir" -C $pkgbase-$pkgver
@@ -55,7 +57,10 @@ package_zlib() {
 
 package_minizip() {
   pkgdesc='Mini zip and unzip based on zlib'
-  depends=(zlib)
+  depends=(
+    glibc
+    zlib
+  )
 
   make install DESTDIR="$pkgdir" -C $pkgbase-$pkgver/contrib/$pkgname
   install -D -m644 $pkgbase-$pkgver/LICENSE -t 
"$pkgdir/usr/share/licenses/$pkgname/"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zlib/-/commit/a15e0ee1f540cdb2f2c4fd57476c0116358e20df

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zlib/-/commit/a15e0ee1f540cdb2f2c4fd57476c0116358e20df
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to