blob: b8767055023b1a404f13da0a048dfaeafa5e7a4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Diab Neiroukh <officiallazerl0rd@gmail.com>
pkgname="zlib-ng-git"
pkgver=1.9.9
pkgrel=3
pkgdesc="zlib replacement with optimizations for \"next generation\" systems"
arch=("any")
url="https://github.com/zlib-ng/zlib-ng"
license=("custom")
depends=("glibc")
makedepends=("cmake" "git")
provides=("zlib=1.2.11" "zlib-ng=1.9.9")
conflicts=("zlib-ng")
options=("staticlibs")
source=("git+${url}.git"
"zlib-ng.conf")
b2sums=("SKIP"
"bf6eb01985db45c6b209a981aa5dbb97c9533fac960cd92ad9aee2d7926f0ec0e133f7df65901ced722fc51bdb362c6bfa3442c8d023db079b6636d109856071")
build()
{
cd "zlib-ng"
./configure --prefix="/opt/zlib-ng" --zlib-compat
make
}
check()
{
cd "zlib-ng"
make test
}
package()
{
install -D -m644 "zlib-ng.conf" "${pkgdir}/etc/ld.so.conf.d/zlib-ng.conf"
cd "zlib-ng"
make install DESTDIR="${pkgdir}"
install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/zlib-ng/LICENSE"
}
|