updated on Wed Jan 11 04:01:16 UTC 2012
[aur-mirror.git] / falcon-gd2 / PKGBUILD
blob0aeaa3f04424427f87190be4d9a543440311b1f3
1 # Contributor: Abdallah Aly < l3thal8 @gmail.com >
2 pkgname=falcon-gd2
3 pkgver=1.0.0
4 pkgrel=1
5 pkgdesc="the GD2 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/gd2/Falcon-gd2.$pkgver.tgz)
9 md5sums=('40fff6763de16095f3374f36a8630371')
10 arch=(i686 x86_64)
11 makedepends=('cmake')
12 depends=('falcon' 'gd')
13 provides=('falcon-gd2')
15 build() {
16     cd $startdir/src/Falcon-gd2.$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