summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e68aec6e0fd6d9983767cb4dc474cdc531898ba9 (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
# Maintainer: Yuval Adam <aur at yuv dot al> PGP-Key: 55E36E28535222E2A2062848B75B5FC2FA1AFE15

pkgname=pygreat-git
pkgver=v2019.5.1.dev0.6.g1e982b2
pkgrel=1
pkgdesc="A library to help you do Great things"
arch=('any')
url="https://github.com/greatscottgadgets/libgreat"
license=(BSD)
depends=('python-pyusb' 'python-future')
provides=('pygreat')
source=("git+${url}")
sha1sums=('SKIP')
_gitname=libgreat

pkgver() {
  cd $_gitname
  echo $(git describe --always | sed 's/-/./g')
}

package() {
  cd "${_gitname}/host"
  python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
}

# vim:set ts=2 sw=2 et: