# Maintainer: Jesse McClure <info at jessemcclure dot org>
_pkgbase=fex
pkgname=fex-fossil
pkgver=2.0.0a1.r20170826
pkgrel=1
pkgdesc="Frequency excursion calculator for quantifying performance of bird song"
arch=('any')
url="http://repo.jessemcclure.org/fex"
license=('MIT')
depends=('python' 'python-setuptools' 'python-pyqt5' 'python-numpy' 'python-scipy')
source=("http://repo.jessemcclure.org/fex/tarball")
md5sums=('SKIP')

pkgver() {
	echo $(sed -n "s/.*version='\([^']*\)',/\1/p" setup.py).r$(date +%Y%m%d)
}

build() {
	python setup.py build
}

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

