Skip to content

Commit

Permalink
zlib: Remove hardcoded pkgver
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Jan 1, 2025
1 parent 6742e77 commit a283425
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zlib-ng/lib32-zlib-ng/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ check() {

package_lib32-zlib-ng() {
provides=('libz-ng.so')
depends=(zlib-ng=$pkgver)
depends=(zlib-ng)

cd "zlib-ng"
DESTDIR="${pkgdir}" cmake --install build
Expand All @@ -82,7 +82,7 @@ package_lib32-zlib-ng() {
package_lib32-zlib-ng-compat() {
pkgdesc+=" (zlib compat)"
provides=('lib32-zlib' 'libz.so')
depends=(zlib-ng-compat=$pkgver lib32-zlib-ng)
depends=(zlib-ng-compat lib32-zlib-ng)
conflicts=('lib32-zlib')
replaces=('lib32-zlib')
options=('staticlibs')
Expand Down
3 changes: 1 addition & 2 deletions zlib-ng/zlib-ng/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pkgname=(
)
pkgver=2.2.3
pkgrel=1
_zlibver=1.3.1
pkgdesc='zlib replacement with optimizations for next generation systems'
url='https://github.com/zlib-ng/zlib-ng'
arch=('x86_64')
Expand Down Expand Up @@ -77,7 +76,7 @@ package_zlib-ng() {

package_zlib-ng-compat() {
pkgdesc+=" (zlib compat)"
provides=('zlib' 'libz.so' 'zlib'=1:$_zlibver)
provides=('zlib' 'libz.so')
depends=('zlib-ng')
conflicts=('zlib')
replaces=('zlib')
Expand Down

0 comments on commit a283425

Please sign in to comment.