summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4bccb88f0dcbfe9124930616a3950bb908e872c (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
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: Cedric Staub <cs+aur {at} cssx.cc>

pkgname=episoder
pkgver=0.8.3
pkgrel=2
pkgdesc='A simple TV show episode reminder'
arch=('any')
url=https://github.com/cockroach/episoder
license=('GPL2')
depends=('python-argparse' 'python-requests' 'python-sqlalchemy')
source=("$url/archive/$pkgname-$pkgver.tar.gz")
sha256sums=('72c9dd45a2fcfb01ae56885e1d7358de327e5ef63a5d0a788a4509b4de5e26d7')

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

check() {
  cd $pkgname-$pkgname-$pkgver
  python -m unittest test/*.py
}

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