upg archlinux-keyring kbd p11-kit pacman minizip zlib
This commit is contained in:
parent
fe5d64ee8b
commit
a8b75bc1db
13 changed files with 177 additions and 119 deletions
|
@ -6,8 +6,8 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=archlinux-keyring
|
||||
_tag='892c8954ad1dc3f77e71b3ffef84cb5c1200c906' # git rev-parse ${pkgver}
|
||||
pkgver=20230504
|
||||
_tag='402794057267604ef3b5900a23f5934e10bdfcae' # git rev-parse ${pkgver}
|
||||
pkgver=20230629
|
||||
pkgrel=01
|
||||
pkgdesc='Arch Linux PGP keyring'
|
||||
url='https://gitlab.archlinux.org/archlinux/archlinux-keyring/'
|
||||
|
@ -55,5 +55,4 @@ validpgpkeys=('02FD1C7A934E614545849F19A6234074498E9CEE' # Christian Hesse <ewo
|
|||
|
||||
sha256sums=(SKIP)
|
||||
|
||||
## 8b49097c1b26eaaa544c397a61b3ad4c7c81d45e81d89772fd8023ca5c5cdb0a archlinux-keyring-20230504-01-x86_64.pkg.tar.lz
|
||||
|
||||
## 5cab82d4d57d0f25a1aae6d0af17ec68d93e083ce454ab0e9a30c137bddabbe3 archlinux-keyring-20230629-01-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
|
||||
pkgname=archlinux-keyring
|
||||
_tag='892c8954ad1dc3f77e71b3ffef84cb5c1200c906' # git rev-parse ${pkgver}
|
||||
pkgver=20230504
|
||||
_tag='402794057267604ef3b5900a23f5934e10bdfcae' # git rev-parse ${pkgver}
|
||||
pkgver=20230629
|
||||
pkgrel=1
|
||||
pkgdesc='Arch Linux PGP keyring'
|
||||
arch=('any')
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=kbd
|
||||
pkgver=2.6.0
|
||||
pkgver=2.6.1
|
||||
pkgrel=01
|
||||
pkgdesc="Keytable files and keyboard utilities"
|
||||
url="http://www.kbd-project.org"
|
||||
|
@ -67,9 +67,10 @@ license=('GPL')
|
|||
|
||||
validpgpkeys=('7F2A3D07298149A0793C9A4EA45ABA544CFFD434') # Alexey Gladkov
|
||||
|
||||
sha256sums=(4642d236cb377a8cbfd4157aac25e4b783c99b22ed1d7c0bcb3161d358deaa97 # kbd-2.6.0.tar.gz
|
||||
03d614155ce1238d7ffba29e4ae561831d5f106cc281b605d65a41d49d20e0f4 # kbd-2.6.0.tar.sign
|
||||
sha256sums=(aaed530a1490d63d041448372e2ad4f38c3179042903251000b71d527c46e945 # kbd-2.6.1.tar.gz
|
||||
c5b8934ea7bc8fb95fa2d3eb915186e7362ded8118efa6afb62dfdd65901dde6 # kbd-2.6.1.tar.sign
|
||||
a5e0167b6a82a9eb4d581d56baab930c2d80f5541dc34630460b73e1115384b8 # fix-euro2.patch
|
||||
5c2d377a87121e7c399534fb91e2ffc0cc1e75d44a8f07ee6f55c9c089bc81e4) # vlock.pam
|
||||
|
||||
## 7df8c9f18e4c7fc68c6f44832776dea617790bcbd68f54faa2981f8f27801489 kbd-2.6.0-01-x86_64.pkg.tar.lz
|
||||
## 464f70045df5164700629e0209684a1f35d69e071caa516605ba6c1a025dae6e kbd-2.6.1-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
pkgname=kbd
|
||||
pkgver=2.6.0
|
||||
pkgver=2.6.1
|
||||
pkgrel=1
|
||||
pkgdesc="Keytable files and keyboard utilities"
|
||||
arch=('x86_64')
|
||||
|
|
|
@ -2,16 +2,17 @@
|
|||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=p11-kit
|
||||
pkgname=(p11-kit libp11-kit)
|
||||
pkgver=0.24.1
|
||||
pkgname=(p11-kit libp11-kit) # p11-kit-docs)
|
||||
pkgver=0.25.0
|
||||
pkgrel=01
|
||||
pkgdesc="Loads and enumerates PKCS#11 modules - w/o systemd"
|
||||
url="https://p11-glue.freedesktop.org"
|
||||
arch=(x86_64)
|
||||
makedepends=(gtk-doc meson libtasn1 libffi bash-completion)
|
||||
depends=(glibc libffi libtasn1)
|
||||
makedepends=(bash-completion gtk-doc meson)
|
||||
source=(https://github.com/p11-glue/p11-kit/releases/download/$pkgver/p11-kit-$pkgver.tar.xz{,.sig})
|
||||
|
||||
prepare() {
|
||||
|
@ -19,12 +20,14 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
arch-meson p11-kit-$pkgver build \
|
||||
--buildtype debugoptimized \
|
||||
-D systemd=disabled \
|
||||
-D gtk_doc=true \
|
||||
-D man=true \
|
||||
local meson_options=(
|
||||
-D gtk_doc=false
|
||||
-D man=true
|
||||
-D systemd=disabled
|
||||
-D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source
|
||||
)
|
||||
|
||||
arch-meson p11-kit-$pkgver build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
|
@ -55,12 +58,13 @@ package_p11-kit() {
|
|||
_pick lib "$pkgdir"/usr/lib/{pkcs11,pkgconfig}
|
||||
_pick lib "$pkgdir"/usr/share/p11-kit
|
||||
|
||||
# _pick doc "$pkgdir"/usr/share/gtk-doc
|
||||
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
}
|
||||
|
||||
package_libp11-kit() {
|
||||
pkgdesc+=" (library)"
|
||||
depends=(glibc libtasn1 libffi)
|
||||
provides=(libp11-kit.so)
|
||||
|
||||
mv lib/* "$pkgdir"
|
||||
|
@ -68,12 +72,29 @@ package_libp11-kit() {
|
|||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#package_p11-kit-docs() {
|
||||
# pkgdesc+=" (documentation)"
|
||||
# depends=()
|
||||
#
|
||||
# mv doc/* "$pkgdir"
|
||||
#
|
||||
# install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
#}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=(BSD)
|
||||
|
||||
validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF' # Stef Walter
|
||||
'462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
|
||||
validpgpkeys=(C0F67099B808FB063E2C81117BFB1108D92765AF # Stef Walter <stef@thewalter.net>
|
||||
462225C3B46F34879FC8496CD605848ED7E69871 # Daiki Ueno <ueno@unixuser.org>
|
||||
5D46CB0F763405A7053556F47A75A648B3F9220C) # Zoltan Fridrich <zfridric@redhat.com>
|
||||
|
||||
sha256sums=(d55583bcdde83d86579cabe3a8f7f2638675fef01d23cace733ff748fc354706 # p11-kit-0.25.0.tar.xz
|
||||
c4778a5b5009b8c31cb7342b728ba696ca97a03219fb965cbb48e6aea85db31c) # p11-kit-0.25.0.tar.xz.sig
|
||||
|
||||
## a3f23523f5b48a9e3212a86f694864c73e1248bcd9b9a9de9664449de6611ded libp11-kit-0.25.0-01-x86_64.pkg.tar.lz
|
||||
## a8f885b81b166dab14820dbd22e15c9875d8ac310fc8905a89d283d906cec65e p11-kit-0.25.0-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
||||
sha256sums=(d8be783efd5cd4ae534cee4132338e3f40f182c3205d23b200094ec85faaaef8 # p11-kit-0.24.1.tar.xz
|
||||
49625102ac98cdf6e6dcd2ee883a66417b1104636180803c8c1bd439dbeeda5a) # p11-kit-0.24.1.tar.xz.sig
|
||||
|
|
|
@ -2,29 +2,49 @@
|
|||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||
|
||||
pkgbase=p11-kit
|
||||
pkgname=(p11-kit libp11-kit)
|
||||
pkgver=0.24.1
|
||||
pkgname=(
|
||||
p11-kit
|
||||
libp11-kit
|
||||
p11-kit-docs
|
||||
)
|
||||
pkgver=0.25.0
|
||||
pkgrel=1
|
||||
pkgdesc="Loads and enumerates PKCS#11 modules"
|
||||
url="https://p11-glue.freedesktop.org"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
makedepends=(gtk-doc meson libtasn1 libffi systemd bash-completion)
|
||||
depends=(
|
||||
glibc
|
||||
libffi
|
||||
libtasn1
|
||||
)
|
||||
makedepends=(
|
||||
bash-completion
|
||||
gtk-doc
|
||||
meson
|
||||
systemd
|
||||
)
|
||||
source=(https://github.com/p11-glue/p11-kit/releases/download/$pkgver/p11-kit-$pkgver.tar.xz{,.sig})
|
||||
sha256sums=('d8be783efd5cd4ae534cee4132338e3f40f182c3205d23b200094ec85faaaef8'
|
||||
b2sums=('6ffce977f86c516a327afe50f4cc5a36e86ba7f43c6cb555db419d9e4ba7543a9f1847ba83da348cd6d7bbebe55dfa26cfe3a3aaa3e1d5420a4b8dc6cbbff088'
|
||||
'SKIP')
|
||||
validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF' # Stef Walter
|
||||
'462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
|
||||
validpgpkeys=(
|
||||
C0F67099B808FB063E2C81117BFB1108D92765AF # Stef Walter <stef@thewalter.net>
|
||||
462225C3B46F34879FC8496CD605848ED7E69871 # Daiki Ueno <ueno@unixuser.org>
|
||||
5D46CB0F763405A7053556F47A75A648B3F9220C # Zoltan Fridrich <zfridric@redhat.com>
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd p11-kit-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
arch-meson p11-kit-$pkgver build \
|
||||
-D gtk_doc=true \
|
||||
-D man=true \
|
||||
local meson_options=(
|
||||
-D gtk_doc=true
|
||||
-D man=true
|
||||
-D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source
|
||||
)
|
||||
|
||||
arch-meson p11-kit-$pkgver build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
|
@ -43,24 +63,29 @@ _pick() {
|
|||
}
|
||||
|
||||
package_p11-kit() {
|
||||
depends=("libp11-kit=$pkgver-$pkgrel" coreutils libp11-kit.so libsystemd.so)
|
||||
depends=(
|
||||
"libp11-kit=$pkgver-$pkgrel"
|
||||
coreutils
|
||||
libp11-kit.so
|
||||
libsystemd.so
|
||||
)
|
||||
install=p11-kit.install
|
||||
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
ln -srf "$pkgdir/usr/bin/update-ca-trust" "$pkgdir/usr/lib/p11-kit/trust-extract-compat"
|
||||
|
||||
# Split libp11-kit
|
||||
_pick lib "$pkgdir"/usr/include
|
||||
_pick lib "$pkgdir"/usr/lib/{p11-kit-proxy.so,libp11-kit.*}
|
||||
_pick lib "$pkgdir"/usr/lib/{pkcs11,pkgconfig}
|
||||
_pick lib "$pkgdir"/usr/share/{locale,p11-kit}
|
||||
_pick lib "$pkgdir"/usr/share/p11-kit
|
||||
|
||||
_pick doc "$pkgdir"/usr/share/gtk-doc
|
||||
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
}
|
||||
|
||||
package_libp11-kit() {
|
||||
pkgdesc+=" (library)"
|
||||
depends=(glibc libtasn1 libffi)
|
||||
provides=(libp11-kit.so)
|
||||
|
||||
mv lib/* "$pkgdir"
|
||||
|
@ -68,4 +93,13 @@ package_libp11-kit() {
|
|||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
}
|
||||
|
||||
# vim:set sw=2 et:
|
||||
package_p11-kit-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
depends=()
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 p11-kit-$pkgver/COPYING
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
gtk-doc
|
||||
meson
|
||||
bash-completion
|
||||
gettext
|
||||
|
||||
|
||||
|
|
3
p11-kit/key
Normal file
3
p11-kit/key
Normal file
|
@ -0,0 +1,3 @@
|
|||
gpg -v --recv-key 7BFB1108D92765AF
|
||||
gpg -v --recv-key D605848ED7E69871
|
||||
gpg -v --recv-key 7A75A648B3F9220C
|
|
@ -1,3 +1,6 @@
|
|||
real 2m39.940s
|
||||
user 9m15.320s
|
||||
sys 0m21.784
|
||||
|
||||
|
||||
real 3m42.256s
|
||||
user 13m21.998s
|
||||
sys 0m28.368s
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
pkgname=pacman
|
||||
pkgver=6.0.2
|
||||
pkgrel=012
|
||||
pkgdesc="A library-based package manager with dependency support"
|
||||
pkgrel=013
|
||||
pkgdesc="A library-based package manager with dependency support modified for joborun from arch"
|
||||
url="https://www.archlinux.org/pacman/"
|
||||
groups=(base jobbot)
|
||||
depends=('bash' 'glibc' 'libarchive' 'curl' 'gpgme' 'pacman-mirrorlist'
|
||||
|
@ -19,7 +19,7 @@ depends=('bash' 'glibc' 'libarchive' 'curl' 'gpgme' 'pacman-mirrorlist'
|
|||
# which matches current xz compression ratio but at a fraction of RAM use
|
||||
# and relatively even speed. So lzip becomes a standard system dependency
|
||||
# as it will also be used by pacman during installation. Gradually all
|
||||
# pkgs will be publicized as *.pkg.tar.lz For now there will be mixed.
|
||||
# pkgs will be offered as *.pkg.tar.lz For a while there will be mixed.
|
||||
makedepends=('meson' 'asciidoc' 'doxygen')
|
||||
checkdepends=('python' 'fakechroot')
|
||||
optdepends=('perl-locale-gettext: translation support in makepkg-template')
|
||||
|
@ -97,7 +97,8 @@ sha256sums=(7d8e3e8c5121aec0965df71f59bedf46052c6cf14f96365c4411ec3de0a4c1a5 #
|
|||
d2bc104788290e3de829a232590b66ad745cf5b4762a01acc1191ebf70fef114 # pacman-always-create-directories-from-debugedit-fixup.patch
|
||||
f3d4f39ef24e312f610cbb3439fb02bc6b8829e37bcf1a50ae50cd0a69bde5d0 # pacman-fix-unique-source-paths.patch
|
||||
d87d0c9957c613fda272553bee58140349d151ae399f346ddaf6d75ee5916312 # pacman-strip-include-o-files-similar-to-kernel-modules.patch
|
||||
a6f93b5139e236efd21935302ec5ae8f8be32f78865b6bab98c5a455bfad7c51 # pacman.conf
|
||||
ab861161bbe6895023fefbdb7f086586dbec74255e71326fd83ca6b2e9e954fb # pacman.conf
|
||||
57908e7e19d841e0be54f3024c3018ce3ed6de5ea1d7750bac550f3e1e90d8c7) # makepkg.conf
|
||||
|
||||
## 0968498fb3fece6f70f3f52bac9b0a26476475d97eb1504981a13bc861e9579c pacman-6.0.2-012-x86_64.pkg.tar.lz
|
||||
## cc0d0b3422e7b604d6b2ce2bbdde10423cb835783c571c0b030d715fb29dee95 pacman-6.0.2-013-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -137,13 +137,13 @@ Server = https://cloud.server.obarun.org/$repo/os/$arch/
|
|||
# community and community-testing no longer exist, all
|
||||
# packages have been moved to extra or AUR
|
||||
|
||||
#[core-testing]
|
||||
#SigLevel = DatabaseOptional
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
[core-testing]
|
||||
SigLevel = DatabaseOptional
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#[core]
|
||||
#SigLevel = DatabaseOptional
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
[core]
|
||||
SigLevel = DatabaseOptional
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra-testing]
|
||||
SigLevel = DatabaseOptional
|
||||
|
|
|
@ -9,8 +9,7 @@ pkgbase=zlib
|
|||
pkgname=(zlib minizip)
|
||||
epoch=1
|
||||
pkgver=1.2.13
|
||||
pkgrel=02
|
||||
arch=('x86_64')
|
||||
pkgrel=03
|
||||
url="https://www.zlib.net/"
|
||||
depends=('glibc')
|
||||
makedepends=('automake' 'autoconf')
|
||||
|
@ -19,54 +18,48 @@ options=('staticlibs') # needed by binutils testsuite
|
|||
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/zlib-$pkgver"
|
||||
grep -A 24 '^ Copyright' zlib.h > LICENSE
|
||||
cd $pkgbase-$pkgver/contrib/minizip
|
||||
cp Makefile Makefile.orig
|
||||
cp ../README.contrib readme.txt
|
||||
autoreconf -fiv
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/zlib-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
cd $pkgbase-$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
|
||||
make test -C $pkgbase-$pkgver
|
||||
make -f Makefile.orig test -C $pkgbase-$pkgver/contrib/minizip
|
||||
}
|
||||
|
||||
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"
|
||||
provides=('libz.so')
|
||||
make install DESTDIR="${pkgdir}" -C $pkgbase-$pkgver
|
||||
install -D -m644 $pkgbase-$pkgver/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
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"
|
||||
|
||||
make install DESTDIR="${pkgdir}" -C $pkgbase-$pkgver/contrib/$pkgname
|
||||
install -D -m644 $pkgbase-$pkgver/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
# https://github.com/madler/zlib/pull/229
|
||||
rm "${pkgdir}/usr/include/minizip/crypt.h"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('custom')
|
||||
|
||||
|
@ -75,4 +68,6 @@ validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
|
|||
sha256sums=(b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 # zlib-1.2.13.tar.gz
|
||||
1263ec60e148a1cf8de3894418df79a6c8bc95f211af92731da0f04170f8b0ac) # zlib-1.2.13.tar.gz.asc
|
||||
|
||||
## e46172298b68e56b19b38cdfb57187b0e6690d00033297fe3c710e175e9ab6ec minizip-1:1.2.13-03-x86_64.pkg.tar.lz
|
||||
## 69cb255bc9ae0a31ea470a95371b25afb957bf97d4c874916ef93b386a24e827 zlib-1:1.2.13-03-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||
# Maintainer: David Runge <dvzrv@archlinux.org>
|
||||
# Maintainer: Levente Polyak <anthraxx@archlinux.org>
|
||||
# Contributor: Pierre Schmitz <pierre@archlinux.de>
|
||||
|
||||
pkgbase=zlib
|
||||
pkgname=(zlib minizip)
|
||||
epoch=1
|
||||
pkgver=1.2.13
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('x86_64')
|
||||
license=('custom')
|
||||
url="https://www.zlib.net/"
|
||||
|
@ -19,48 +21,44 @@ sha256sums=('b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30'
|
|||
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/zlib-$pkgver"
|
||||
grep -A 24 '^ Copyright' zlib.h > LICENSE
|
||||
cd $pkgbase-$pkgver/contrib/minizip
|
||||
cp Makefile Makefile.orig
|
||||
cp ../README.contrib readme.txt
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/zlib-$pkgver"
|
||||
cd $pkgbase-$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
|
||||
make test -C $pkgbase-$pkgver
|
||||
|
||||
cd contrib/minizip
|
||||
make -f Makefile.orig test
|
||||
make -f Makefile.orig test -C $pkgbase-$pkgver/contrib/minizip
|
||||
}
|
||||
|
||||
package_zlib() {
|
||||
pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
|
||||
provides=('libz.so')
|
||||
|
||||
cd "${srcdir}/zlib-$pkgver"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/zlib/LICENSE"
|
||||
make install DESTDIR="${pkgdir}" -C $pkgbase-$pkgver
|
||||
install -D -m644 $pkgbase-$pkgver/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
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"
|
||||
make install DESTDIR="${pkgdir}" -C $pkgbase-$pkgver/contrib/$pkgname
|
||||
install -D -m644 $pkgbase-$pkgver/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
|
||||
# https://github.com/madler/zlib/pull/229
|
||||
rm "${pkgdir}/usr/include/minizip/crypt.h"
|
||||
|
|
Loading…
Reference in a new issue