aboutsummaryrefslogtreecommitdiffstats
path: root/testing/advancecomp/APKBUILD
blob: 227476646b5cffdbebf4097b7e2c19c2c9bf433e (plain) (blame)
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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=advancecomp
pkgver=2.1
pkgrel=0
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"
makedepends="automake autoconf libtool zlib-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/amadvance/advancecomp/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	cd "$builddir"
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="9789e2abfc17a1630efcb15c04c8806edfd8ca074f19f53476c9f4057287a661de2cb386ad6c81c0112c127ac1283cc6b3162c15765d3b4623c800ce2d240cbc  advancecomp-2.1.tar.gz"