[testing] -> [core] 'zlib-1:1.2.13-2' move
packagesZ/zlib/pipeline/head This commit looks good Details

master
artoo 2 months ago
parent e3cfa98a7d
commit 1a8f12e8b0
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B

@ -4,12 +4,15 @@ pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.13
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('custom')
url="https://www.zlib.net/"
depends=('glibc')
options=('staticlibs') # needed by binutils testsuite
options=(
'staticlibs' # needed by binutils testsuite
'debug'
)
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
sha256sums=('b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30'
'SKIP')

@ -1,67 +0,0 @@
# Maintainer: artoo <artoo@artixlinux.org>
pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.13
pkgrel=2
arch=('x86_64')
license=('custom')
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'
'SKIP')
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
prepare() {
cd "${srcdir}/zlib-$pkgver"
grep -A 24 '^ Copyright' zlib.h > LICENSE
}
build() {
cd "${srcdir}/zlib-$pkgver"
CFLAGS+=" -ffat-lto-objects"
./configure --prefix=/usr
make
cd contrib/minizip
cp Makefile Makefile.orig
cp ../README.contrib readme.txt
autoreconf --install
./configure --prefix=/usr --enable-static=no
make
}
check() {
cd "${srcdir}/zlib-$pkgver"
make test
cd contrib/minizip
make -f Makefile.orig test
}
package_zlib() {
pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
cd "${srcdir}/zlib-$pkgver"
make install DESTDIR="${pkgdir}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/zlib/LICENSE"
}
package_minizip() {
pkgdesc='Mini zip and unzip based on zlib'
depends=('zlib')
cd "${srcdir}/zlib-$pkgver/contrib/minizip"
make install DESTDIR="${pkgdir}"
install -D -m644 "${srcdir}/zlib-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/minizip/LICENSE"
# https://github.com/madler/zlib/pull/229
rm "${pkgdir}/usr/include/minizip/crypt.h"
}

@ -1,29 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBDuVqKgRBAD5Mcvdc41W5lpeZvYplEuyEBXwmxnUryE2KaCG1C06sGyqgiec
VPXPbgIPKOUt4veMycVoqU4U4ZNuIeCGPfUvkGKLKvy5lK3iexC1Qvat+9ek2+yX
9zFlTo9QyT4kjn+xaZQYVctL370gUNV4eoiWDdrTjIvBfQCb+bf87eHv0QCg/7xt
wnq3uMpQHX+k2LGD2QDEjUcEALalUPPX99ZDjBN75CFUtbE43a73+jtNOLJFqGo3
ne/lB8DqVwavrgQQxQqjg2xBVvagNpu2Cpmz3HlWoaqEb5vwxjRjhF5WRE+4s4es
9536lQ6pd5tZK4tHMOjvICkSg2BLUsc8XzBreLv3GEdpHP6EeezgAVQyWMpZkCdn
Xk8FA/9gRmro4+X0KJilw1EShYzudEAi02xQbr9hGiA84pQ4hYkdnLLeRscChwxM
VmoiEuJ51ZzIPlcSifzvlQBHIyYCl0KJeVMECXyjLddWkQM32ZZmQvG02mL2XYmF
/UG+/0vd6b2ISmtns6WrULGPNtagHhul+8j7zUfedsWuqpwbm7QmTWFyayBBZGxl
ciA8bWFkbGVyQGFsdW1uaS5jYWx0ZWNoLmVkdT6IWAQQEQIAGAUCO5WoqAgLAwkI
BwIBCgIZAQUbAwAAAAAKCRB4P82OWLyvunKOAJ9kOC1uyoYYiXp2SMdcPMj5J+8J
XQCeKBP9Orx0bXK6luyWnCS5LJhevTy5Ag0EO5WoqRAIAPZCV7cIfwgXcqK61qlC
8wXo+VMROU+28W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrf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