diff options
author | Maurizio D'Addona | 2021-12-29 11:31:55 +0100 |
---|---|---|
committer | Maurizio D'Addona | 2021-12-29 11:31:55 +0100 |
commit | 8c3e58702c16ce02bdc8f00782b14a448c1bbc79 (patch) | |
tree | a1556ebcc25622628120e26d9e8a72e6b7e330e0 /PKGBUILD | |
parent | 0bd0193dc21069d2f97bc8fab773e71a35d73304 (diff) | |
download | aur-8c3e58702c16ce02bdc8f00782b14a448c1bbc79.tar.gz |
Enables optional compression algorithms
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -2,13 +2,18 @@ # Contributor: Mathieu Pasquet <mathieui@mathieui.net> # Contributor: Bernhard Walle <bernhard.walle@gmx.de> # Contributor: Michael Eckert <michael.eckert@linuxmail.org> +# Contributor: Guilherme G. Piccoli <gpiccoli@igalia.com> pkgname=makedumpfile pkgver=1.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="A tool to generate smaller dumpfiles from kdump memory dumps" license=('GPL2') depends=('perl' 'elfutils') +makedepends=('zstd' 'lzo' 'snappy') +optdepends=('zstd: for zstd compression' + 'lzo: for lzo compression' + 'snappy: for snappy compression') arch=('i686' 'x86_64') url="https://github.com/makedumpfile/makedumpfile" source=("https://github.com/makedumpfile/makedumpfile/releases/download/${pkgver}/makedumpfile-${pkgver}.tar.gz") @@ -17,7 +22,7 @@ sha256sums=('8985f8df249087ea68c6051dec6dac3ef0703fe2aa87d0266f3951f93aa8da5e') build() { cd $srcdir/$pkgname-$pkgver export CFLAGS="-fcommon" - make LINKTYPE=dynamic + make LINKTYPE=dynamic USEZSTD=on USELZO=on USESNAPPY=on } package() { |