|
1 |
| -# Maintainer: Ramon Buldó <rbuldo at gmail.com> |
| 1 | +# $Id$ |
| 2 | +# Maintainer: Balló György <ballogyor+arch at gmail dot com> |
| 3 | +# Contributer: Arthur Zamarin <[email protected]> |
| 4 | +# Contributer: Martin Wimpress <[email protected]> |
2 | 5 |
|
3 | 6 | pkgname=blueman
|
4 | 7 | pkgver=2.0.1
|
5 | 8 | _pkgver=2.0
|
6 |
| -pkgrel=2 |
7 |
| -pkgdesc="A GTK+ Bluetooth Manager (BlueZ 5)" |
| 9 | +pkgrel=3 |
| 10 | +pkgdesc="GTK+ Bluetooth Manager" |
8 | 11 | arch=('i686' 'x86_64')
|
9 |
| -license=('GPL') |
10 | 12 | url="https://github.com/blueman-project/blueman"
|
11 |
| -depends=('bluez' 'bluez-libs' 'dbus-glib' 'gconf' 'gdk-pixbuf2' 'glib2' |
12 |
| - 'gtk3' 'notification-daemon' 'libnotify' 'polkit' 'pango' |
13 |
| - 'python-cairo' 'python-dbus' 'python-gobject' 'python-pybluez') |
14 |
| -optdepends=('dnsmasq: DHCP server for Network Access Point' |
15 |
| - 'pulseaudio: for some audio support') |
16 |
| -makedepends=('cython' 'intltool' 'libtool') |
17 |
| -conflicts=('blueman-git' 'blueman-bzr') |
18 |
| -source=("https://github.com/blueman-project/${pkgname}/releases/download/${_pkgver}/${pkgname}-${_pkgver}.tar.xz") |
19 |
| -sha256sums=('81a5ca95124f12bfb62d2d2d0d265af70cdae1d43b0c6e4fc6d2bad8f82958f1') |
20 |
| -install=${pkgname}.install |
| 13 | +license=('GPL') |
| 14 | +depends=('bluez' 'bluez-libs' 'gtk3' 'libnotify' 'python-cairo' 'python-dbus' 'python-gobject') |
| 15 | +makedepends=('cython' 'intltool') |
| 16 | +optdepends=('dnsmasq: Network Access Point (NAP) support' |
| 17 | + 'networkmanager: Dial Up Networking (DUN) and Personal Area Networking (PAN) support' |
| 18 | + 'pulseaudio-bluetooth: audio devices support') |
| 19 | +install=$pkgname.install |
| 20 | +source=($pkgname-$_pkgver.tar.gz::https://github.com/blueman-project/$pkgname/archive/$_pkgver.tar.gz) |
| 21 | +sha256sums=('3f6dc827c4410f128f75a15672af8dc76c5c041f6d639d5ab19b15abeb42ff74') |
21 | 22 |
|
22 | 23 | prepare() {
|
23 |
| - cd "${srcdir}/${pkgname}-${_pkgver}" |
24 |
| - NOCONFIGURE=1 ./autogen.sh |
| 24 | + cd $pkgname-$_pkgver |
| 25 | + |
| 26 | + # Fix path for bluetoothd |
| 27 | + sed -i 's|/usr/sbin/bluetoothd|/usr/lib/bluetooth/bluetoothd|' apps/blueman-report |
| 28 | + |
| 29 | + # Fix non-standard icon names |
| 30 | + sed -i 's/gtk-find/edit-find/' data/ui/device-list-widget.ui |
| 31 | + sed -i 's/mouse/input-mouse/' blueman/services/Input.py |
| 32 | + |
| 33 | + NOCONFIGURE=1 ./autogen.sh |
25 | 34 | }
|
26 | 35 |
|
27 | 36 | build() {
|
28 |
| - cd "${srcdir}/${pkgname}-${_pkgver}" |
29 |
| - ./configure \ |
30 |
| - --prefix=/usr \ |
31 |
| - --sysconfdir=/etc \ |
32 |
| - --libexecdir=/usr/lib/${pkgname} \ |
33 |
| - --disable-static \ |
34 |
| - --disable-schemas-compile |
35 |
| - make |
| 37 | + cd $pkgname-$_pkgver |
| 38 | + ./configure \ |
| 39 | + --prefix=/usr \ |
| 40 | + --sysconfdir=/etc \ |
| 41 | + --libexecdir=/usr/lib/$pkgname \ |
| 42 | + --disable-schemas-compile |
| 43 | + make |
36 | 44 | }
|
37 | 45 |
|
38 | 46 | package() {
|
39 |
| - cd "${srcdir}/${pkgname}-${_pkgver}" |
40 |
| - make DESTDIR="${pkgdir}" install |
| 47 | + cd $pkgname-$_pkgver |
| 48 | + make DESTDIR="$pkgdir" install |
41 | 49 | }
|
0 commit comments