diff options
author | Maurizio D\'Addona | 2022-01-11 12:19:23 +0100 |
---|---|---|
committer | Maurizio D'Addona | 2022-01-11 12:21:12 +0100 |
commit | 56050f46d35097fed0e0e18c2fe1f79adacf778f (patch) | |
tree | 4316b8c1576a9124d86a6ff807a8f0a127d56bf1 /PKGBUILD | |
parent | 8c3e58702c16ce02bdc8f00782b14a448c1bbc79 (diff) | |
download | aur-56050f46d35097fed0e0e18c2fe1f79adacf778f.tar.gz |
Fixes optional dependecies and bumps pkgrel
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -6,14 +6,10 @@ pkgname=makedumpfile pkgver=1.7.0 -pkgrel=2 +pkgrel=3 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') +depends=('perl' 'libelf' 'zstd') arch=('i686' 'x86_64') url="https://github.com/makedumpfile/makedumpfile" source=("https://github.com/makedumpfile/makedumpfile/releases/download/${pkgver}/makedumpfile-${pkgver}.tar.gz") @@ -22,7 +18,9 @@ sha256sums=('8985f8df249087ea68c6051dec6dac3ef0703fe2aa87d0266f3951f93aa8da5e') build() { cd $srcdir/$pkgname-$pkgver export CFLAGS="-fcommon" - make LINKTYPE=dynamic USEZSTD=on USELZO=on USESNAPPY=on + # NOTE: to enable lzo and/or snappy compressions uncomment the following + # options and add the corresponding packages to the depends array + make LINKTYPE=dynamic USEZSTD=on # USELZO=on USESNAPPY=on } package() { |