aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-lgob/APKBUILD
blob: 17a38eaa3e9e763c34fa7e6e74b91723f538fabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-lgob
pkgver=10.05
pkgrel=0
pkgdesc="Set of Lua bindings that uses gobject-instrospection"
url="http://oproj.tuxfamily.org"
license="LGPL"
depends="lua"
makedepends="lua-dev cairo-dev gtk+-dev pango-dev vte-dev gtkspell-dev
	webkit-dev atk-dev gstreamer-dev gst-plugins-base-dev poppler-gtk-dev
	gtksourceview-dev"
subpackages="$pkgname-dev"
source="http://downloads.tuxfamily.org/oproj/lgob/lgob-$pkgver.tar.bz2"

#    'codegen', 'common', 'gobject', 'loader', 'cairo', 'gdk', 'gtk',
#    'pango', 'pangocairo', 'vte', 'webkit', 'atk', 'gstreamer', 'gtkspell',
#    'gtksourceview', 'goocanvas', 'poppler', 'clutter', 'cluttergtk'
_mods="codegen common gobject loader cairo gdk gtk pango pangocairo vte webkit
	atk gstreamer gtkspell gtksourceview poppler"
build() { 
	cd "$srcdir"/lgob-$pkgver
}

package() {
	cd "$srcdir"/lgob-$pkgver
	for i in $_mods; do
		cd $i
		make DESTDIR="$pkgdir"/usr \
			&& make DESTDIR="$pkgdir"/usr install|| return 1
		cd ..
	done
}

md5sums="ac3eb632d53c8c3d181b317482bacff7  lgob-10.05.tar.bz2"