Files
LFS-PKGBUILDs/lfs-12.2-systemd/zstd-1.5.6.PKGBUILD

29 lines
588 B
Plaintext

pkgname=zstd
pkgver=1.5.6
pkgdesc='Zstandard - Fast real-time compression algorithm'
url='https://facebook.github.io/zstd/'
license=(
BSD-3-Clause
GPL-2.0-only
)
sources=("zstd-${pkgver}.tar.gz")
urls=("https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz")
md5sums=("5a473726b3445d0e5d6296afd1ab6854")
src_prepare() {
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
}
src_build() {
make prefix=/usr
}
src_check() {
make check
}
src_install() {
make prefix="${pkgdir}/usr" install
rm -v "${pkgdir}/usr/lib/libzstd.a"
}