new: lfs/zstd-1.5.6

This commit is contained in:
wyj
2024-11-13 02:05:44 -05:00
parent 1494adb372
commit 8ffcbd69cd
+28
View File
@@ -0,0 +1,28 @@
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"
}