updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / falcon-dynlib / PKGBUILD
blob16883f415d6845ddc2087cdf6733b14af39c661b
1 # Contributor: Abdallah Aly < l3thal8 @gmail.com >
2 pkgname=falcon-dynlib
3 pkgver=0.9.5
4 pkgrel=1
5 pkgdesc="the Dynamic Library Binder module for Falcon proramming language"
6 license=('custom:"GPLv2 or Falcon Programming Language License"')
7 url="http://www.falconpl.org"
8 source=(http://www.falconpl.org/project_dl/dynlib/dynlib-$pkgver.tgz)
9 md5sums=('8046c29b6e3aa050f0e9c936b1e53cf7')
10 arch=(i686 x86_64)
11 makedepends=('cmake')
12 depends=('falcon')
13 provides=('falcon-dynlib')
15 build() {
16     cd $startdir/src/dynlib-$pkgver
17     cmake . || return 1
18     make || return 1
19     mkdir -p $startdir/pkg/usr/lib/falcon || return 1
20     make DESTDIR="$startdir/pkg/" install || return 1
21     mkdir -p $startdir/pkg/usr/share/licenses/falcon || return 1
22     cp LICENSE $startdir/pkg/usr/share/licenses/falcon/falcon-dynlib || return 1