Skip to content
Snippets Groups Projects
Commit 3da27282 authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

upgpkg: 1:1.9.3-2

parent 489c12d4
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
pkgname=lz4
epoch=1
pkgver=1.9.3
pkgrel=1
pkgrel=2
pkgdesc='Extremely fast compression algorithm'
arch=('x86_64')
url='http://www.lz4.org/'
......@@ -11,8 +11,23 @@ license=('GPL2')
makedepends=('git')
checkdepends=('diffutils')
depends=('glibc')
source=("git+https://github.com/lz4/lz4.git#tag=v$pkgver")
md5sums=('SKIP')
source=("git+https://github.com/lz4/lz4.git#tag=v$pkgver"
'https://github.com/lz4/lz4/commit/8301a21773ef61656225e264f4f06ae14462bca7.patch')
sha256sums=('SKIP'
'a9109fac17ee72ed3ec86f2cd5e8c4a0f34a548213a3d3c89861d6b2a6bd2871')
prepare() {
cd $pkgname
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
msg2 "Applying patch $src..."
patch -Np1 < "../$src"
done
}
build() {
# do not use the main makefile, it calls sub make with -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment