summaryrefslogtreecommitdiffstats
path: root/abs/extra/cabextract/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/cabextract/PKGBUILD')
-rw-r--r--abs/extra/cabextract/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/abs/extra/cabextract/PKGBUILD b/abs/extra/cabextract/PKGBUILD
index 2b8eb10..4e7b2cf 100644
--- a/abs/extra/cabextract/PKGBUILD
+++ b/abs/extra/cabextract/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: dale <dale@archlinux.org>
+# $Id: PKGBUILD 86106 2010-07-25 21:30:58Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
pkgname=cabextract
-pkgver=1.2
+pkgver=1.3
pkgrel=1
pkgdesc="A program to extract Microsoft cabinet (.CAB) files."
-license=(GPL)
-arch=(i686 x86_64)
-depends=(glibc)
-conflicts=()
-backup=()
-install=
-url="http://www.kyz.uklinux.net/cabextract.php"
-source=(http://www.cabextract.org.uk/$pkgname-$pkgver.tar.gz)
-md5sums=('dc421a690648b503265c82ade84e143e')
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.cabextract.org.uk/"
+depends=('glibc')
+source=(http://www.cabextract.org.uk/${pkgname}-${pkgver}.tar.gz)
+md5sums=('cb9a4a38470d2a71a0275968e7eb64d3')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man || return 1
make || return 1
- make prefix=$startdir/pkg/usr install
+ make DESTDIR="${pkgdir}" install || return 1
}