[arch-commits] Commit in blueman/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Oct 29 12:17:22 UTC 2013
Date: Tuesday, October 29, 2013 @ 13:17:22
Author: spupykin
Revision: 99544
Modified:
blueman/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-29 12:13:00 UTC (rev 99543)
+++ PKGBUILD 2013-10-29 12:17:22 UTC (rev 99544)
@@ -3,15 +3,15 @@
# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
pkgname=blueman
-pkgver=1.23
-pkgrel=10
+pkgver=20131021git
+pkgrel=1
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'
@@ -20,18 +20,21 @@
'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')
+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 \
@@ -40,7 +43,7 @@
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
echo "NotShowIn=KDE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
}
More information about the arch-commits
mailing list