summaryrefslogtreecommitdiff
path: root/community/cabextract/PKGBUILD
blob: 3801ff4b8050218c55aeff431dcd88267ea954a5 (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 50767 2011-06-30 19:23:26Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=cabextract
pkgver=1.4
pkgrel=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
}