update: move lfs/* to lfs-12.2-systemd/
This commit is contained in:
28
lfs-12.2-systemd/zstd-1.5.6.PKGBUILD
Normal file
28
lfs-12.2-systemd/zstd-1.5.6.PKGBUILD
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user