diff options
Diffstat (limited to 'community/cabextract/PKGBUILD')
-rw-r--r-- | community/cabextract/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/cabextract/PKGBUILD b/community/cabextract/PKGBUILD new file mode 100644 index 000000000..07dca6cef --- /dev/null +++ b/community/cabextract/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 59583 2011-11-28 16:44:30Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=cabextract +pkgver=1.4 +pkgrel=2 +pkgdesc="A program to extract Microsoft cabinet (.CAB) files" +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=('79f41f568cf1a3ac105e0687e8bfb7c0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} |