# Contributor: TBK # Maintainer: TBK pkgname=advancecomp pkgver=2.5 pkgrel=1 pkgdesc="A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files" url="https://www.advancemame.it/" arch="all" license="GPL-3.0-or-later" makedepends="automake autoconf libtool zlib-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/amadvance/advancecomp/archive/v$pkgver.tar.gz" # secfixes: # 2.4-r0: # - CVE-2022-35014 # - CVE-2022-35015 # - CVE-2022-35016 # - CVE-2022-35017 # - CVE-2022-35018 # - CVE-2022-35019 # - CVE-2022-35020 # 2.1-r2: # - CVE-2019-9210 prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" c508526415dc002dad442e3f55202494ab2c49ecac3f5ea6e1a3fe27d224dd9a1a33dace02f59c18123d3f4bc74e3f03556b1cff6541cb88dcaaa32ac35c0043 advancecomp-2.5.tar.gz "