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

pkgname=mkinitcpio-bluetooth
pkgver=1.3
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')
makedepends=('git')
source=("git+https://github.com/irreleph4nt/mkinitcpio-bluetooth.git#tag=v${pkgver}")
md5sums=('SKIP')

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

    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: