diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/blueman/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/blueman/PKGBUILD')
-rw-r--r-- | community/blueman/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/blueman/PKGBUILD b/community/blueman/PKGBUILD new file mode 100644 index 000000000..a7af7b714 --- /dev/null +++ b/community/blueman/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 92494 2013-06-07 09:28:53Z tomegun $ +# Contributor: Ionut Biru <ibiru@archlinux.org +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> + +pkgname=blueman +pkgver=1.23 +pkgrel=10 +pkgdesc="GTK+ bluetooth manager" +arch=('i686' 'x86_64') +license=('GPL') +url="https://launchpad.net/blueman" +depends=('bluez4' 'bluez-libs' 'gnome-icon-theme' 'libpulse' 'obex-data-server' + 'python2-dbus' 'python2-notify' 'startup-notification' 'xdg-utils') +makedepends=('pyrex' 'intltool') +optdepends=('dnsmasq: For creating PAN network' + 'modemmanager: For modem management service' + 'notification-daemon: For desktop notifications' + 'polkit-gnome: For privileged actions' + 'pulseaudio: To use the pulseaudio plugin' + 'python2-gconf: For gconf configuration support') +options=('!libtool') +install=$pkgname.install +source=(https://launchpad.net/${pkgname}/1.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz) +md5sums=('f0bee59589f4c23e35bf08c2ef8acaef') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export PYTHON=python2 + for file in apps/blueman*; do + sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file + done + sed -i 's|"blueman-tray"|"blueman"|' blueman/plugins/applet/StatusIcon.py + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/blueman \ + --with-no-runtime-deps-check + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + echo "NotShowIn=KDE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop +} |