summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3610015b91fabefadfdf163fbd53687d8a79255c (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
pkgbase='python-cryptofetch'
pkgname=('python-cryptofetch')
_module='cryptofetch'
pkgver=1.2.2
pkgrel=1
pkgdesc="CLI tool to fetch and view cryptocurrencies prices"
url="https://github.com/codeswhite/cryptofetch"
depends=('python' 'python-requests' 'python-prettytable' 'python-interutils')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=("69d045edbdb552e785135e076737b60441078827ce01f761003c2b1c7cb40ace")

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}