summaryrefslogtreecommitdiffstats
path: root/gnome-bluetooth/Pkgfile
blob: 10b2685daab9d8386f0b974cacfbbed51161885e (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
# Description: Sous-système Bluetooth de Gnome
# URL: http://live.gnome.org/GnomeBluetooth
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on:  hicolor-icon-theme, gvfs, obexd, dconf, nautilus-sendto, intltool, gnome-doc-utils, gobject-introspection
# Run on: hicolor-icon-theme,gvfs,obexd,dconf,nautilus-sendto

name=gnome-bluetooth
version=3.1.92
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	61-gnome-bluetooth-rfkill.rules)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-schemas-compile \
		--disable-desktop-update \
		--disable-icon-update
	make
	make DESTDIR=$PKG install

	install -m644 -D $SRC/61-gnome-bluetooth-rfkill.rules $PKG/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
	install -d $PKG/etc/ld.so.conf.d
	echo "/usr/lib/gnome-bluetooth" > $PKG/etc/ld.so.conf.d/$name.conf

        rm -rf $PKG/usr/share/gtk-doc
}