compat-32/zstd-32/Pkgfile

19 lines
517 B
Plaintext
Raw Normal View History

2020-09-13 02:39:43 +02:00
# Description: Real-time compression with high compression ratios.
2020-09-20 20:45:06 +02:00
# URL: https://facebook.github.io/zstd/
2020-09-13 02:39:43 +02:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2020-09-20 20:45:06 +02:00
# Depends on: zlib-32 xz-32 zstd
2020-09-13 02:39:43 +02:00
name=zstd-32
2021-05-16 11:55:42 +02:00
version=1.5.0
2020-09-13 02:39:43 +02:00
release=1
source=(https://github.com/facebook/zstd/archive/v$version/zstd-v$version.tar.gz)
build() {
cd zstd-$version
make HAVE_THREAD=1
PREFIX=/usr LIBDIR=/usr/lib32 PKGCONFIGDIR=/usr/lib32/pkgconfig make DESTDIR=$PKG install
rm -r $PKG/usr/{share,include,bin}
}