summaryrefslogtreecommitdiffstats
path: root/gnome-bluetooth/Pkgfile
blob: c5cd8132dc6a55e4e2b22084234d31d74fd226e6 (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
# 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.4.1
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	61-gnome-bluetooth-rfkill.rules)

build() {
	unset MAKEFLAGS
	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
}