summaryrefslogtreecommitdiffstats
path: root/main/cabextract/APKBUILD
blob: 13e03878fa23feb37f7438cf87b7422ba7c5bdd8 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=cabextract
pkgver=1.4
pkgrel=0
pkgdesc="Tool for extracting Microsoft cabinet files"
url="http://www.cabextract.org.uk/"
arch="all"
license="GPL"
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 --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="79f41f568cf1a3ac105e0687e8bfb7c0  cabextract-1.4.tar.gz"