[arch-commits] Commit in python2-btchip/repos (community-any community-any/PKGBUILD)
Timothy Redaelli
tredaelli at archlinux.org
Tue Mar 17 14:27:49 UTC 2015
Date: Tuesday, March 17, 2015 @ 15:27:48
Author: tredaelli
Revision: 129424
archrelease: copy trunk to community-any
Added:
python2-btchip/repos/community-any/
python2-btchip/repos/community-any/PKGBUILD
(from rev 129423, python2-btchip/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python2-btchip/repos/community-any/PKGBUILD (from rev 129423, python2-btchip/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-03-17 14:27:48 UTC (rev 129424)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python2-btchip
+pkgver=0.1.14
+pkgrel=1
+pkgdesc="Python library to communicate with BTChip dongle"
+arch=('any')
+depends=('python2-hidapi')
+makedepends=('python2-setuptools')
+url="https://github.com/LedgerHQ/btchip-python"
+license=('Apache')
+source=(https://github.com/LedgerHQ/btchip-python/archive/v$pkgver.tar.gz)
+sha256sums=('6adfa69f18bc3ecff07a877dd46eff62dc747bd8cac491d882ba1bcb16bd16d5')
+
+build() {
+ cd btchip-python-$pkgver
+
+ python2 setup.py build
+}
+
+package() {
+ cd btchip-python-$pkgver
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list