summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53db25491ef4975a8bd0f720da7144f1c7b15a52 (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
# Maintainer: Nils Czernia <nils[at]czserver.de>

pkgname=python-btlewrap
_pkgname=btlewrap
pkgver=0.0.9
pkgrel=1
pkgdesc="Bluetooth LowEnergy wrapper for different python backends"
url="https://github.com/ChristianKuehnel/btlewrap"
arch=("any")
license=("MIT")
depends=("python" "python-bluepy")
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/ChristianKuehnel/btlewrap/archive/v${pkgver}.tar.gz)
sha512sums=("ef15265fac8813bb5837b96ba638dd1635c4d7b3f624091c8722a5c048c20dd496094aacef41d115e25d84356d8b26a47f269c6cd58fd2d41601fca65ab35b06")

build() {
  cd ${_pkgname}-${pkgver}
  python setup.py build
}

package() {
  cd ${_pkgname}-${pkgver}
  python setup.py install --skip-build -O1 --root="${pkgdir}"

  rm -Rf ${pkgdir}/usr/lib/*/site-packages/test/
}

# vim: ts=2 sw=2 et: