summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38a44224d9cd60cfe74c5d4761a62f32446b0723 (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
# Maintainer: Tim Schumacher <timschumi@gmx.de>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>

pkgname=python-googletrans
pkgver=3.1.0a0
pkgrel=1
pkgdesc="Free Google Translate API for Python."
arch=('any')
license=('MIT')
url="https://github.com/ssut/py-googletrans"
depends=('python-setuptools' 'python-httpx')
source=("https://pypi.io/packages/source/g/googletrans/googletrans-$pkgver.tar.gz")
sha512sums=('0640f8e301f205fbf415dc1ea310d342dbd9e06dc3e87029f2928bcd945b4c0f41e70b829f5f8eeb1125d5fccffe1f210ba963b461e6c22b6ea7e79ccfb6996f')

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

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