aboutsummaryrefslogtreecommitdiffstats
path: root/community/advancecomp/APKBUILD
blob: bd3739305be253d6bff3cfac2c3a6ee71236c550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=advancecomp
pkgver=2.1
pkgrel=2
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
	CVE-2019-9210.patch
	"

# secfixes:
#   2.1-r2:
#     - CVE-2019-9210

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9789e2abfc17a1630efcb15c04c8806edfd8ca074f19f53476c9f4057287a661de2cb386ad6c81c0112c127ac1283cc6b3162c15765d3b4623c800ce2d240cbc  advancecomp-2.1.tar.gz
df6a05acbc6e603e9c870911ed66f865f354652f9645ae014e8d665b867b7d316ea243f477980053bcbe3276f5976a68818c7b3693d603de41a40e49677582f6  CVE-2019-9210.patch"