diff options
Diffstat (limited to 'testing/cabextract/APKBUILD')
-rw-r--r-- | testing/cabextract/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/cabextract/APKBUILD b/testing/cabextract/APKBUILD new file mode 100644 index 0000000000..56327b3fca --- /dev/null +++ b/testing/cabextract/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=cabextract +pkgver=1.2 +pkgrel=0 +pkgdesc="A program to extract Microsoft cabinet (.CAB) files." +url="http://www.cabextract.org.uk/" +license="GPL" +depends= +makedepends= +source="http://www.$pkgname.org.uk/$pkgname-$pkgver.tar.gz" + +build () { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR=""$pkgdir"" install || return 1 +} +md5sums="dc421a690648b503265c82ade84e143e cabextract-1.2.tar.gz" |