aboutsummaryrefslogtreecommitdiffstats
path: root/main/p7zip/APKBUILD
blob: a011172f75dd15553eb46b056c32d14c590539b8 (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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=p7zip
pkgver=15.09
pkgrel=0
pkgdesc="A command-line port of the 7zip compression utility"
url="http://p7zip.sourceforge.net"
arch="all"
license="LGPL2+"
subpackages="$pkgname-doc"
depends=
makedepends="bash"
install=
source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2"

_builddir="$srcdir"/${pkgname}_${pkgver}
build() {
	cd "$_builddir"
	make all3 OPTFLAGS="${CXXFLAGS}" || return 1
}

package() {
	cd "$_builddir"
	./install.sh /usr/bin /usr/libexec/$pkgname /usr/share/man /usr/share/doc "$pkgdir"
	cp contrib/gzip-like_CLI_wrapper_for_7z/p7zip "$pkgdir"/usr/bin/
	cp contrib/gzip-like_CLI_wrapper_for_7z/man1/* "$pkgdir"/usr/share/man/man1/
}

md5sums="ab69f4f13ba0ec57eca2cf4c9edd9678  p7zip_15.09_src_all.tar.bz2"
sha256sums="8783acf747e210e00150f7311cc06c4cd8ecf7b0c27b4adf2194284cc49b4d6f  p7zip_15.09_src_all.tar.bz2"
sha512sums="4f020b13632ef7a85aa8a98586b59bef2dde3c1cbebdbd17e01f1d09b2e13a56ecfe82546d7efc677c45df67456a71cfdb67826b53ebea4c0fb4878f20c2f6dd  p7zip_15.09_src_all.tar.bz2"