updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / asap / PKGBUILD
blobd523a3574a79414c7d186626f9d175e4a554fe33
1 # $Id: PKGBUILD,v 0.1 2010/10/01 15:56:36 wh Exp $
2 # Contributor niski <niski_szkielet@interia.pl>
4 pkgname=asap
5 pkgver=2.1.1
6 pkgrel=1
7 pkgdesc="ASAP - library"
8 url="http://asap.sourceforge.net"
9 arch=('any')
10 license=('GPL')
11 source=("http://downloads.sourceforge.net/asap/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('14ef72f890189b77dae7a11ccb9369bc')
15 build() {
16         cd $startdir/src/$pkgname-$pkgver/
17         make
18 # asapconv
19         mkdir -p $startdir/pkg/usr/bin
20         install asapconv $startdir/pkg/usr/bin/asapconv
21 # asap library
22         mkdir -p $startdir/pkg/usr/{include,lib}
23         install -m 644 asap.h $startdir/pkg/usr/include/asap.h
24         install -m 644 libasap.a $startdir/pkg/usr/lib/libasap.a