diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 15 insertions, 31 deletions
@@ -1,12 +1,8 @@ pkgbase = bluez-hciconfig - pkgdesc = deprecated hciconfig tool from bluez - pkgver = 5.66 + pkgdesc = metapackage - migrate to bluez-tools-extra + pkgver = 5.67 pkgrel = 1 - url = http://www.bluez.org/ - arch = x86_64 - license = GPL2 - depends = bluez-libs - source = https://www.kernel.org/pub/linux/bluetooth/bluez-5.66.tar.xz - sha256sums = 39fea64b590c9492984a0c27a89fc203e1cdc74866086efb8f4698677ab2b574 + arch = any pkgname = bluez-hciconfig + depends = bluez-tools-extra diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,28 +1,12 @@ -# $Id$ -# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: -pkgname=bluez-hciconfig -pkgver=5.66 +_newpkg='bluez-tools-extra' +pkgname='bluez-hciconfig' +pkgver=5.67 pkgrel=1 -pkgdesc="deprecated hciconfig tool from bluez" -url="http://www.bluez.org/" -arch=('x86_64') -license=('GPL2') -depends=("bluez-libs") -source=(https://www.kernel.org/pub/linux/bluetooth/bluez-${pkgver}.tar.xz) -sha256sums=('39fea64b590c9492984a0c27a89fc203e1cdc74866086efb8f4698677ab2b574') - -build() { - cd bluez-${pkgver}/tools - gcc hciconfig.c parser/{csr,parser,lmp}.c ../src/textfile.c \ - -lbluetooth -o hciconfig \ - -DVERSION=\"$pkgver\" \ - -DSTORAGEDIR=\"/var/lib/bluetooth\" \ - -I.. -} +pkgdesc="metapackage - migrate to $_newpkg" +arch=('any') package() { - cd bluez-${pkgver}/tools - install -Dm0755 hciconfig "$pkgdir"/usr/bin/hciconfig - install -Dm0755 hciconfig.1 "$pkgdir"/usr/share/man/man1/hciconfig.1 + depends=("$_newpkg") } |