blob: ca578fd04683f1e6890e3a0b516e10a5f45c7fa2 (
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: Dylan Whichard <dylan at whichard dot com>
pkgbase=python-py-wink
pkgname=${pkgbase}-git
_pkgname=py-wink
pkgver=r52.ebc9e46
pkgrel=2
pkgdesc="Python library for interfacing with Wink devices"
arch=('any')
url="https://github.com/umbc-hackafe/py-wink"
license=('MIT')
depends=('python' 'python-httplib2')
makedepends=('python' 'git')
source=("py-wink::git+https://github.com/umbc-hackafe/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
python setup.py install --root="$pkgdir" --optimize=1 || return 1
}
# vim:set ts=2 sw=2 et:
|