updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lgob / PKGBUILD
blob90bcce96c4f93562c9d89e2759047eda2411c12e
1 # Contributor: Lucas Hermann Negri <lucashnegri@gmail.com>
3 pkgname=lgob
4 pkgver=11.10.1
5 pkgrel=1
6 pkgdesc="Bindings of GObject-based libraries (GTK, WebKitGtk, etc) and some others (Cairo, etc) for Lua."
7 arch=(i686 x86_64)
8 url="http://oproj.tuxfamily.org" 
9 depends=('lua>=5.1' 'libwebkit3' 'gtksourceview3' 'clutter-gtk' 'vte3' 'poppler-glib')
10 license=('LGPL')
11 source=("http://downloads.tuxfamily.org/oproj/$pkgname/$pkgname-$pkgver.tar.bz2")
12 md5sums=("2d82faa6574c2052b4504e06dd1de2ee")
14 build() { 
15   cd "$srcdir/$pkgname-$pkgver"
16   
17   if [ ${CARCH} = 'i686' ]; then
18     lua build_all.lua $pkgdir/usr
19   else
20     lua build_all.lua $pkgdir/usr AMD64
21   fi
22   
23   # examples
24   install -d "$pkgdir/usr/share/lgob/examples"
25   install -Dm644 examples/* "$pkgdir/usr/share/lgob/examples"