# $Id: PKGBUILD 136993 2011-09-04 20:46:19Z ibiru $ # Maintainer: Ionut Biru # Contributor: Roman Kyrylych pkgname=gnome-bluetooth pkgver=3.1.4 pkgrel=2 pkgdesc="The GNOME Bluetooth Subsystem" arch=('i686' 'x86_64') url="http://live.gnome.org/GnomeBluetooth" license=('GPL' 'LGPL') depends=('gtk3' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'dconf') makedepends=('intltool' 'gnome-doc-utils' 'nautilus-sendto' 'gobject-introspection') options=('!libtool' '!emptydirs') install=gnome-bluetooth.install source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz 61-gnome-bluetooth-rfkill.rules) sha256sums=('128463d3fe5457ff3996b79d2b829e16c982c863ece5dcd0e659f19288115188' 'b8acb8ea2e7f3588575cffd8ea14ec50c8641f518f2ea899771a508b299ea474') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-desktop-update \ --disable-icon-update \ --disable-schemas-compile make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -m644 -D "${srcdir}/61-gnome-bluetooth-rfkill.rules" \ "${pkgdir}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules" install -d ${pkgdir}/etc/ld.so.conf.d echo "/usr/lib/gnome-bluetooth" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf }