blob: f0db2b018e4639397e726f6bc6f700d0407e2482 (
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
|
# Maintainer:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Alex Amadori <tacchinotacchi@gmail.com>
pkgname=rtbth-dkms
pkgver=3.9.6
pkgrel=1
pkgdesc="rtbth Kernel module sources for Ralink RT3290 bluetooth, lomiu's solution."
arch=('i686' 'x86_64')
url='http://www.mediatek.com/'
license=('mixed')
depends=('dkms')
optdepends=('bluez: Canonical implementation of bluetooth protocol'
'bluez-utils: Utilities for Bluez')
provides=('rtbth')
conflicts=('rtbth-dkms-git')
install='rtbth-dkms.install'
source=("https://github.com/loimu/rtbth-dkms/archive/${pkgver}.tar.gz")
sha512sums=('caea78393365e16a1a8ab163e14710f221dae0f1d132737c4b85da717dc4fcbbe468bcc0f49cb3d75c740c25df2055baeb461878bc2c99d1c16359dabda3d117')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}"/usr/bin
mkdir -p "${pkgdir}"/usr/src
mkdir -p "${pkgdir}"/etc/modprobe.d/
cp -r ./ "${pkgdir}/usr/src/${pkgname}-${pkgver}"
cp tools/rtbt "${pkgdir}"/usr/bin/rtbt
cp tools/ralink-bt.conf "${pkgdir}"/etc/modprobe.d/ralink-bt.conf
}
|