aboutsummaryrefslogtreecommitdiffstats
path: root/community/zutils/APKBUILD
blob: ff679b9e4b68bafdbf382fa9e8c183148435435e (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
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=zutils
pkgver=1.7
pkgrel=0
pkgdesc="A collection of utilities able to process any combination of compressed and uncompressed files transparently"
url="http://www.nongnu.org/zutils/zutils.html"
arch="all"
license="GPL-2.0"
subpackages="$pkgname-doc"
checkdepends="bzip2"
source="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.lz
	CVE-2018-1000637.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

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

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

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

sha512sums="eaf49d9aefb21460635eb6d0f1ae49ddc51b5a4e5d6d0943637194351ef910471203908d6bfe93ad37ca62ceacebe5b208d12b4bb8dda68cd9dbcdb7c7f848e1  zutils-1.7.tar.lz
de30e5458b294175cfb3ab9c2031e80c7a4269cf7cf5968e08690ea363bc057a4b052d3a6979d577e8e2182a0a74bc02997c1ba074baa97223b23057b73d6799  CVE-2018-1000637.patch"