Commit 55362f45 authored by Stuart Cardall's avatar Stuart Cardall Committed by Sören Tempel
Browse files

main/lz4: upgrade to 1.8.1.2

parent c60f7652
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=lz4
pkgver=1.8.1
pkgver=1.8.1.2
pkgrel=0
pkgdesc="LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core."
url="https://github.com/lz4/lz4"
......@@ -9,7 +9,7 @@ arch="all"
license="BSD"
checkdepends="diffutils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-tests:tests"
source="$pkgname-$pkgver.tar.gz::https://github.com/lz4/lz4/archive/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
......@@ -24,9 +24,9 @@ check() {
tests() {
cd "$builddir"/tests
mkdir -p "$subpkgdir"/usr/share/lz4
mkdir -p "$subpkgdir"/usr/share/$pkgname
rm -f *.c COPYING Makefile .gitignore
cp -rf "$builddir"/tests "$subpkgdir"/usr/share/lz4
cp -rf "$builddir"/tests "$subpkgdir"/usr/share/$pkgname
}
package() {
......@@ -34,4 +34,4 @@ package() {
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="081d98af8be1e1cb7828607ae69fadfab8b1e55b754cc6531496edbd75c47e2879ef1676be9e2db9fb7bd361d2f27e7e4c028b08ee5ee783a0d51e171cadf734 lz4-1.8.1.tar.gz"
sha512sums="f4ed450bc05477cc6c2b42e6fe1fbb1fb0907f1d05b68b1d69d975b555ddb385550f204258e6d91642e14ce373815141dc218cda03b711793935d5458bc45c7f lz4-1.8.1.2.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment