1 # Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
2 # Contributor: graysky <graysky@archlinux.us>
3 # Contributor: <kastor@fobos.org.ar>
8 pkgdesc='Multi-threaded compression with rzip/lzma, lzo, and zpaq'
9 url='https://github.com/ckolivas/lrzip'
14 source=("git+https://github.com/ckolivas/lrzip#tag=v${pkgver}"
15 "${pkgname}-${pkgver}-CVE-2018-5786.patch::https://github.com/ckolivas/lrzip/commit/3495188cd8f2215a9feea201f3e05c1341ed95fb.patch")
17 '8573ff8dd049c91cd0e6d754683e889ae439119cb9e738241dedd369c280a6fc')
21 patch -Np1 < "../${pkgname}-${pkgver}-CVE-2018-5786.patch"
27 CFLAGS="$CFLAGS -fomit-frame-pointer"
28 CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
30 ./autogen.sh --prefix=/usr "$flags"
35 make -C "${pkgname}" -k check
39 make -C "${pkgname}" DESTDIR="${pkgdir}" install-strip
43 # getver: -u 3 github.com/ckolivas/lrzip/blob/master/ChangeLog