blob: 13351cf15052fd5583a49adbc472ade6b6ca50ed (
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
|
# Maintainer: SpineEyE <at gmail - com>
pkgname=hsphfpd-git
pkgdesc="Prototype implementation for connecting Bluetooth devices with HSP and HFP profiles"
pkgver=r8.9760a29
pkgrel=1
arch=(x86_64)
url=https://github.com/pali/hsphfpd-prototype
license=(unknown)
depends=(perl-net-dbus)
makedepends=(git)
optdepends=()
provides=("${pkgname%-git}")
source=(${pkgname%-git}::git+https://github.com/pali/hsphfpd-prototype.git
${pkgname%-git}.service)
md5sums=('SKIP'
'7fb422837e52fbe1fbc8c274839ed37f')
pkgver() {
cd ${pkgname%-git}/
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm644 ${pkgname%-git}.service -t "$pkgdir"/usr/lib/systemd/system
cd ${pkgname%-git}/
install -Dm644 org.hsphfpd.conf -t "$pkgdir"/etc/dbus-1/system.d
install -Dm755 hsphfpd.pl -t "$pkgdir"/usr/bin
}
|