summaryrefslogtreecommitdiffstats
path: root/gnome-tweak-tool/Pkgfile
blob: fdf1fb89ca364b02640d1c2a8b2a3124d35c7a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Outil de modification d'options avancées de GNOME 3.
# URL: https://live.gnome.org/GnomeTweakTool
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gconf, gsettings-desktop-schemas, pygobject, gnome-shell
# Run on: gconf,gsettings-desktop-schemas,pygobject,gnome-shell

name=gnome-tweak-tool
version=3.1.0
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	pygobject3.patch)

build() {
	cd $name-$version
	patch -p1 < ../pygobject3.patch
	aclocal
	autoconf
	PYTHON=python2 ./configure --prefix=/usr 
	make
	make DESTDIR=$PKG install
	sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $PKG/usr/bin/gnome-tweak-tool
}