1 # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
3 pkgname=gnome-bluetooth-git
4 _pkgname=gnome-bluetooth
7 pkgdesc="The GNOME Bluetooth Subsystem"
9 url="http://live.gnome.org/GnomeBluetooth"
10 license=('GPL' 'LGPL')
11 depends=('gnome-control-center' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'dconf')
12 makedepends=('intltool' 'gtk-doc' 'nautilus-sendto' 'gobject-introspection' 'gnome-common' 'git' 'automake' 'autoconf')
13 options=('!libtool' '!emptydirs')
14 provides=('gnome-bluetooth')
15 conflicts=('gnome-bluetooth')
16 install=gnome-bluetooth.install
17 source=(61-gnome-bluetooth-rfkill.rules)
18 md5sums=('9fb6c8dcb5a3de3a953bf2ef42063e6e')
20 _gitroot="git://git.gnome.org/gnome-bluetooth"
21 _gitname="gnome-bluetooth"
25 msg "Connecting to GIT server...."
27 if [ -d ${_gitname} ] ; then
28 cd ${_gitname} && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf ${srcdir}/build
38 git clone ${srcdir}/$_gitname ${srcdir}/build
41 ./autogen.sh --prefix=/usr \
43 --localstatedir=/var \
44 --disable-desktop-update \
45 --disable-icon-update \
46 --disable-schemas-compile
52 make DESTDIR=${pkgdir} install
54 install -m644 -D "${srcdir}/61-gnome-bluetooth-rfkill.rules" \
55 "${pkgdir}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules"
56 install -d ${pkgdir}/etc/ld.so.conf.d
57 echo "/usr/lib/gnome-bluetooth" > ${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf