summaryrefslogtreecommitdiff
path: root/extra/libmspack/PKGBUILD
blob: cdf016760ca65f362b3619b66856b9a51bc75eac (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
29
30
31
# $Id: PKGBUILD 136796 2011-09-01 15:19:12Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>

pkgname=libmspack
pkgver=0.3alpha
pkgrel=1.1
pkgdesc="A library for Microsoft compression formats"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.cabextract.org.uk/libmspack/"
license=('GPL')
depends=('glibc')
makedepends=()
options=('!libtool')
source=(http://www.cabextract.org.uk/libmspack/$pkgname-$pkgver.tar.gz)
md5sums=('08d08455b6d58ea649b35febd23f6386')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --disable-static
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}