aboutsummaryrefslogtreecommitdiffstats
path: root/main/cabextract/APKBUILD
blob: d280066de9b577cfb08c3d386e9fa0e3134942c5 (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
41
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=cabextract
pkgver=1.4
pkgrel=1
pkgdesc="Tool for extracting Microsoft cabinet files"
url="http://www.cabextract.org.uk/"
arch="all"
license="GPL2+"
subpackages="$pkgname-doc"
depends=""
makedepends=""
install=""
source="http://www.cabextract.org.uk/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
	cd $_builddir
	return 0
}

build () {
	cd $_builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="79f41f568cf1a3ac105e0687e8bfb7c0  cabextract-1.4.tar.gz"
sha256sums="f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e  cabextract-1.4.tar.gz"
sha512sums="013c55efd8847bbc42432cde1bc4f6232f5b627ef8d7fadbf5793e47e3e06b5c1d428846cb38921d6c758fd508abfcc68aac3214762b9d4bfcb7277bd8bbbb94  cabextract-1.4.tar.gz"