summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08794bfbd9efeeedc40eab7b6ea5548aa2261226 (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
# Maintainer: Robert Maerz
# Contributor: Aline Freitas <aline AT alinefreitas DOT com DOT br>

pkgname=mkinitcpio-bluetooth
pkgver=1.4
pkgrel=1
pkgdesc="This is an initcpio hook for bluetooth connectivity during boot / in initramfs."
url="https://github.com/irreleph4nt/mkinitcpio-bluetooth/"
arch=(
  'x86_64'
  'i686'
)
license=('GPLv2')
depends=(
  'bluez'
  'bluez-utils'
  'dbus'
)
replaces=('mkinitcpio-btinput')
makedepends=('git')
source=("https://github.com/irreleph4nt/mkinitcpio-bluetooth/archive/v${pkgver}.tar.gz")
md5sums=('a794ec95f1d37a56c824b7adc729ad96')

package() {
    cd "$srcdir/${pkgname}-${pkgver}"

    install -Dm644 bluetooth_install "${pkgdir}/usr/lib/initcpio/install/bluetooth"
    install -Dm644 bluetooth_hook "${pkgdir}/usr/lib/initcpio/hooks/bluetooth"
    install -Dm644 org.bluez.conf "${pkgdir}/usr/lib/initcpio/bluetooth/org.bluez.conf"
}

# vim:set ts=2 sw=2 et: