summaryrefslogtreecommitdiffstats
path: root/caribou/Pkgfile
blob: 98caf00d4a61fb3f5ed573af6593e213e9168977 (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
# Description: Alternative de clavier virtual à Gnome On-Screen Keyboard
# URL: http://gnome.gnome.org/Caribou
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gtk3, pygobject3, clutter, libgee, gobject-introspection, intltool, libxklavier, json-glib, at-spi
# Run on: gtk3, pygobject3, clutter, libgee, libxklavier, json-glib

name=caribou
version=0.3.5
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	import_from_gi.repository.patch)

build() {
	cd $name-$version
	patch -p1 < ../import_from_gi.repository.patch
	sed "s|/usr/bin/python|/usr/bin/python2|" -i tools/make_schema.py tools/fix_gir.py
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--disable-schemas-compile\
		--disable-scrollkeeper \
		--enable-gtk2-module \
		--enable-gtk3-module
	make
	make DESTDIR=$PKG install
}