summaryrefslogtreecommitdiff
path: root/community/cabextract/PKGBUILD
blob: 07dca6cef321e7c23fc75255dfd5479962b00bbc (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
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
}