summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDiab Neiroukh2020-05-10 15:20:38 +0100
committerDiab Neiroukh2020-05-10 15:20:38 +0100
commit601815bacfcde11006eea3854a91fbabb0c64b18 (patch)
treea0db9796bf1babd277b7ed030571c695f31e75d4 /PKGBUILD
parent713aa5cf38af97a0aa5bf0062f87229e0efbb42e (diff)
downloadaur-601815bacfcde11006eea3854a91fbabb0c64b18.tar.gz
Replace zlib
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 504e7cb3b6f..1e8c13b3da7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Diab Neiroukh <officiallazerl0rd@gmail.com>
pkgname="zlib-ng-git"
-pkgver=1.9.9
+pkgver=1
pkgrel=1
-epoch=2
+epoch=3
pkgdesc="zlib replacement with optimizations for \"next generation\" systems"
arch=(
"any"
@@ -24,6 +24,7 @@ provides=(
"zlib-ng=1.9.9"
)
conflicts=(
+ "zlib"
"zlib-ng"
)
options=(
@@ -31,17 +32,15 @@ options=(
)
source=(
"git+${url}.git"
- "zlib-ng.conf"
)
b2sums=(
"SKIP"
- "bf6eb01985db45c6b209a981aa5dbb97c9533fac960cd92ad9aee2d7926f0ec0e133f7df65901ced722fc51bdb362c6bfa3442c8d023db079b6636d109856071"
)
build()
{
cd "zlib-ng" || exit
- ./configure --prefix="/opt/zlib-ng" --zlib-compat
+ ./configure --prefix="/usr" --zlib-compat
make
}
@@ -53,8 +52,6 @@ check()
package()
{
- install -D -m644 "zlib-ng.conf" "${pkgdir}/etc/ld.so.conf.d/zlib-ng.conf"
-
cd "zlib-ng" || exit
make install DESTDIR="${pkgdir}"