aboutsummaryrefslogtreecommitdiffstats
path: root/main/cabextract
diff options
context:
space:
mode:
Diffstat (limited to 'main/cabextract')
-rw-r--r--main/cabextract/APKBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/main/cabextract/APKBUILD b/main/cabextract/APKBUILD
index f759888f1b..31ce01a23c 100644
--- a/main/cabextract/APKBUILD
+++ b/main/cabextract/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=cabextract
-pkgver=1.3
-pkgrel=1
+pkgver=1.4
+pkgrel=0
pkgdesc="Tool for extracting Microsoft cabinet files"
url="http://www.cabextract.org.uk/"
arch="all"
@@ -12,16 +12,27 @@ makedepends=""
install=
source="http://www.cabextract.org.uk/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/${pkgname}-${pkgver}
+
+prepare() {
+ cd $_builddir
+ return 0
+}
+
build ()
{
- cd "$srcdir"/${pkgname}-${pkgver}
+ 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="cb9a4a38470d2a71a0275968e7eb64d3 cabextract-1.3.tar.gz"
+md5sums="79f41f568cf1a3ac105e0687e8bfb7c0 cabextract-1.4.tar.gz"