summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1748d8942b18dbdd95ae10c30682c75abc41bd69 (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
pkgname=python-difftime-git
pkgver=1.0.0
pkgrel=1
arch=('any')
pkgdesc='Calculate interval time differences'
url='https://github.com/jmdaemon/difftime'
license=('GPL3')
depends=('python')
optdepends=()
makedepends=('python-setuptools' )
source=("$pkgname::git+https://github.com/jmdaemon/difftime#branch=master")
provides=(python-difftime)
conflicts=(python-difftime)
sha512sums=("SKIP")

build() {
  cd "$pkgname"
  python setup.py build
}

package() {
  cd "$pkgname"
  python setup.py install --root "$pkgdir" --optimize=1
}