summaryrefslogtreecommitdiff
path: root/community/cabextract/PKGBUILD
blob: bcf66a01ec97b92f645c85cd430e3f493bf2ba3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 59583 2011-11-28 16:44:30Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=cabextract
pkgver=1.4
pkgrel=2.1
pkgdesc="A program to extract Microsoft cabinet (.CAB) files"
arch=('i686' 'x86_64' 'mips64el')
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
}