From caf8945b69058ed7a30cda9d273ce825e3e5f240 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] lz4 1.10.0-1 --- lz4/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lz4/PKGBUILD diff --git a/lz4/PKGBUILD b/lz4/PKGBUILD new file mode 100644 index 0000000..f072d05 --- /dev/null +++ b/lz4/PKGBUILD @@ -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 +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} +}