1 # Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
5 pkgdesc="Gnome tools for the Logitech G Series Keyboards And Z-10 Speakers"
7 url="http://www.gnome15.org"
9 depends=(python2 python-imaging python2-cairo dbus-python pygtk python2-pyinotify
10 python-lxml pygobject pyxdg pyusb python-rsvg python-xlib
11 hicolor-icon-theme python-virtkey python2-pyinputevent)
12 optdepends=('python2-setproctitle: Allows a process to change its title')
13 conflicts=('gnome15-systemtray')
14 install=$pkgname.install
15 source=(http://www.gnome15.org/downloads/Gnome15/Required/${pkgname}-${pkgver}.tar.gz
17 md5sums=('ceac15b37409158a443dcc2d38121fe2'
18 'bd5abfdb0c8799b2fb24a1c3411b1f40')
21 cd "${srcdir}/${pkgname}-${pkgver}"
23 patch -Np2 -i ${srcdir}/python2.patch
26 for file in $(find . -type f -name '*' -print); do
27 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
28 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
32 --prefix=/usr --sysconfdir=/etc \
33 --enable-kernel-driver \
34 --enable-g19direct-driver --enable-g19-driver \
35 --enable-g15-driver --enable-g15direct-driver \
36 --disable-indicator --enable-systemtray --disable-applet \
37 --enable-udev=/etc/udev/rules.d --enable-udevgroup=gnome15 PYTHON=python2
42 cd "${srcdir}/${pkgname}-${pkgver}"
44 make DESTDIR="${pkgdir}/" install
47 # vim:set ts=2 sw=2 et: