summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ad6efbd904d7740d77c0d6e1610047c2f8b9576 (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
28
29
30
31
32
# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com>
pkgname=python-quamash-git
_pkgname=quamash
pkgver=20150919
pkgrel=1
pkgdesc="Implementation of the asyncio (PEP 3156) event-loop with Qt"
arch=('any')
url="https://github.com/harvimt/quamash"
license=('BSD')
depends=('python-pyqt5')
makedepends=('python-setuptools')
conflicts=('python-quamash')
provides=('python-quamash')
source=('git+https://github.com/harvimt/quamash.git')
md5sums=('SKIP')

pkgver() {
  cd ${srcdir}/${_pkgname}
  git log -1 --format='%cd' --date=short | tr -d -- '-'
}

build() {
  cd "$srcdir/${_pkgname}"
  python setup.py build
}

package() {
  cd "$srcdir/${_pkgname}"
  python setup.py install --root="$pkgdir"
}

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