new: lfs/lz4-1.10.0

This commit is contained in:
Yingjie Wang 2024-11-13 01:39:52 -05:00
parent 3f026bb652
commit 1494adb372

24
lfs/lz4-4.10.0.PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
pkgname="lz4"
pkgver="1.10.0"
pkgdesc='Extremely fast compression algorithm'
homepage="https://lz4.org/"
license=('GPL-2.0-or-later')
sources=("lz4-1.10.0.tar.gz")
urls=("https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz")
md5sums=("dead9f5f1966d9ae56e1e32761e4e675")
src_prepare() {
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
}
src_build() {
make BUILD_STATIC=no PREFIX=/usr
}
src_check() {
make -j1 check
}
src_install() {
make BUILD_STATIC=no PREFIX="${pkgdir}/usr" install
}