archrelease: copy trunk to community-any
[arch-community.git] / bluez-tools / repos / community-x86_64 / PKGBUILD
blob01f579e0e7f4434f6af3dc09598e540a3b04b37c
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
3 pkgname=bluez-tools
4 pkgver=0.2.0
5 pkgrel=5
6 pkgdesc="A set of tools to manage Bluetooth devices for Linux"
7 arch=('x86_64')
8 url="https://github.com/khvzak/bluez-tools"
9 license=('GPL')
10 depends=('bluez')
11 makedepends=(git)
12 _commit=7cb788c9c43facfd2d14ff50e16d6a19f033a6a7  # master
13 source=("git+https://github.com/khvzak/bluez-tools#commit=$_commit")
14 sha256sums=('SKIP')
16 build() {
17   cd $pkgname
18   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
19   ./autogen.sh --prefix=/usr
20   make
23 package() {
24   cd $pkgname
25   make DESTDIR="$pkgdir" install