summaryrefslogtreecommitdiff
path: root/extra/libmspack/PKGBUILD
blob: c4391f5d02e648262bd45a5a3225df6685bb221b (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
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
}