summaryrefslogtreecommitdiff
path: root/community/blueman/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/blueman/PKGBUILD')
-rw-r--r--community/blueman/PKGBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/community/blueman/PKGBUILD b/community/blueman/PKGBUILD
index 888485938..d1db7e726 100644
--- a/community/blueman/PKGBUILD
+++ b/community/blueman/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 99699 2013-10-30 23:06:45Z allan $
+# $Id: PKGBUILD 100136 2013-11-01 20:21:28Z spupykin $
# Contributor: Ionut Biru <ibiru@archlinux.org
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=blueman
-pkgver=1.23
-pkgrel=10
+pkgver=20131021git
+pkgrel=2
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'
+url="https://github.com/cschramm/blueman"
+depends=('bluez' 'bluez-libs' 'gnome-icon-theme' 'libpulse' 'obex-data-server'
'python2-dbus' 'python2-notify' 'startup-notification' 'xdg-utils')
-makedepends=('pyrex' 'intltool')
+makedepends=('pyrex' 'intltool' 'git')
optdepends=('dnsmasq: For creating PAN network'
'modemmanager: For modem management service'
'notification-daemon: For desktop notifications'
@@ -19,18 +19,21 @@ optdepends=('dnsmasq: For creating PAN network'
'pulseaudio: To use the pulseaudio plugin'
'python2-gconf: For gconf configuration support')
install=$pkgname.install
-source=(https://launchpad.net/${pkgname}/1.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('f0bee59589f4c23e35bf08c2ef8acaef')
+source=("blueman::git://github.com/cschramm/blueman.git")
+md5sums=('SKIP')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- export PYTHON=python2
+prepare() {
+ cd "${srcdir}/${pkgname}"
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
+}
+build() {
+ cd "${srcdir}/${pkgname}"
+ export PYTHON=python2
+ ./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/blueman \
@@ -39,7 +42,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
echo "NotShowIn=KDE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
}