lz4 1.10.0-1
This commit is contained in:
parent
acd8a142f8
commit
caf8945b69
32
lz4/PKGBUILD
Normal file
32
lz4/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=lz4
|
||||||
|
pkgver=1.10.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Extremely fast compression algorithm"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://lz4.github.io/lz4"
|
||||||
|
license=('GPL-2.0-or-later')
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('meson' 'ninja')
|
||||||
|
source=(https://github.com/lz4/lz4/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
|
||||||
|
meson setup --prefix=/usr --buildtype=release ${pkgname}-${pkgver}/build/meson build
|
||||||
|
|
||||||
|
meson configure build -Dcontrib=true -Dexamples=true -Dprograms=true
|
||||||
|
|
||||||
|
meson compile -C build
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
|
||||||
|
meson install -C build --destdir ${pkgdir}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user