diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-08-09 09:34:33 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-08-09 09:34:33 +0000 |
commit | 0f1b6901e8557625b066723d1c9dc43de9c56442 (patch) | |
tree | ed0c2e3b61e423896e73ab6948f49e7d2fcd35be /main/cabextract/APKBUILD | |
parent | f317f7c1ba5c7f9cfadedce9303276472a4be53a (diff) | |
download | aports-0f1b6901e8557625b066723d1c9dc43de9c56442.tar.bz2 aports-0f1b6901e8557625b066723d1c9dc43de9c56442.tar.xz |
main/cabextract: upgrade to 1.4
Diffstat (limited to 'main/cabextract/APKBUILD')
-rw-r--r-- | main/cabextract/APKBUILD | 19 |
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" |