blob: df8e52332338bc062010a8850bc22d9d15268930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: Juan Diego Tascon
# Maintainer: Swift Geek
pkgname=bluez-git
_pkgname=bluez
pkgver=5.45.r17.gd6c07ecf2
pkgrel=1
epoch=1
pkgdesc="Libraries and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libical' 'libdbus' 'glib2')
optdepends=('cups: CUPS backend')
makedepends=('git')
conflicts=($_pkgname
$_pkgname-utils
$_pkgname-libs
$_pkgname-cups
$_pkgname-hid2hci
$_pkgname-plugins
$_pkgname-hcidump
'obexd-client'
'obexd-server')
provides=($_pkgname
$_pkgname-utils
$_pkgname-libs
$_pkgname-cups
$_pkgname-hid2hci
$_pkgname-plugins)
backup=('etc/bluetooth/main.conf'
'etc/dbus-1/system.d/bluetooth.conf')
source=("$pkgname::git://git.kernel.org/pub/scm/bluetooth/bluez.git"
bluetooth.modprobe)
md5sums=('SKIP'
'671c15e99d7154c2df987b71c5851b3d')
pkgver() {
cd $pkgname
git describe --tags --long|sed -r 's,^[^0-9],,;s,([0-9]*-g),r\1,;s,[-_],.,g'
}
prepare() {
cd $pkgname
./bootstrap
}
build() {
cd $pkgname
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--enable-sixaxis \
--enable-experimental \
--enable-manpages \
--enable-library # this is deprecated
make
}
package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
install -Dm644 src/main.conf "${pkgdir}/etc/bluetooth/main.conf"
install -Dm644 ${srcdir}/bluetooth.modprobe "${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf"
}
|