updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / udis86 / PKGBUILD
blob5a780f58922a26fb57669b625e17388656238fd2
1 # Maintainer: Giuseppe Calderaro <giuseppecalderaro@gmail.com>
3 pkgname=udis86
4 pkgver=1.7
5 pkgrel=2
6 pkgdesc="A minimalistic disassembler library"
7 arch=('i686' 'x86_64')
8 url="http://udis86.sourceforge.net/"
9 license=('custom')
10 source=('http://downloads.sourceforge.net/udis86/udis86-1.7.tar.gz')
11 md5sums=('e279108e10f774e6c3af83caa18f5dc3')
13 build() {
14     cd $startdir/src/$pkgname-$pkgver || return 1
16     ./configure --enable-shared || return 1
17     make || return 1
19     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.lai $startdir/pkg/usr/lib/libudis86.la
20     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.a $startdir/pkg/usr/lib/libudis86.a
21     ranlib $startdir/pkg/usr/lib/libudis86.a
23     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.so.0.0.0 $startdir/pkg/usr/lib/libudis86.so
24     install -D -m644 $startdir/src/$pkgname-$pkgver/$pkgname.h $startdir/pkg/usr/include/$pkgname.h || return 1
25     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/extern.h $startdir/pkg/usr/include/libudis86/extern.h || return 1
26     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/types.h $startdir/pkg/usr/include/libudis86/types.h || return 1
27     install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/itab.h $startdir/pkg/usr/include/libudis86/itab.h || return 1