summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0074cf136945abaa470d7aa11fa415f36b6cbf4a (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
# Maintainer: Riccardo Berto <riccardobrt at gmail>
# previous: Andy Weidenbaum <archbaum@gmail.com>

pkgname=python-tinydb
pkgver=3.8.0
pkgrel=1
pkgdesc="Lightweight document oriented database optimized for your happiness"
arch=('any')
depends=('python')
makedepends=('python-setuptools')
url="https://github.com/msiemens/tinydb"
license=('MIT')
options=(!emptydirs)
source=($url/archive/v$pkgver.tar.gz)
sha256sums=('SKIP')

build() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg2 'Building...'
  python setup.py build
}

package() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg2 'Installing...'
  python setup.py install --root="$pkgdir" --optimize=1

}