updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / libastral / PKGBUILD
blob4100db2039f3ba38c07d449bf4c4f7035a5deff6
1 # Contributor: Orivej Desh <smpuj@bk.ru>
2 pkgname=libastral
3 pkgver=0.5
4 pkgrel=1
5 pkgdesc="Interface library for Astral data flows"
6 arch=("i686" "x86_64" "x86_128")
7 url="http://sourceforge.net/projects/libastralso/"
8 license=("custom:BeerWare")
9 depends=()
10 options=("!makeflags")
11 source=(http://downloads.sourceforge.net/libastralso/$pkgname-$pkgver.tgz fpic.patch license)
12 md5sums=('1472ef0dd536da55f521807f6fcd6251' 'f2e5f1f8993f8f73e2b106e8e88cc1fd'\
13          '3e8c139e9c856ed18223197321f1f45e')
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         patch -Np1 -i ../fpic.patch
18         make || return 1
19         install -d $pkgdir/usr/lib $pkgdir/usr/bin
20         make PREFIX=$pkgdir/usr install
21         install -Dm644 ../license $pkgdir/usr/share/licenses/libastral/LICENSE
23 # vim: ts=2