summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aafb169712abe129a0ccdd53ddf510abef5bac78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: mitts <mittens2001@opmbx.org>

pkgname=python2-gpsoauth
_pkgname=gpsoauth
pkgver=0.4.1
pkgrel=1
pkgdesc="A python client library for Google Play Services OAuth."
arch=('any')
url="https://github.com/simon-weber/gpsoauth"
license=('MIT')
depends=('python2-pycryptodomex>=3.0' 'python2-requests')
makedepends=('python2-setuptools')
source=("https://github.com/simon-weber/$_pkgname/archive/$pkgver.tar.gz")
md5sums=('1de18ab996ebd0c61b462c50dc25cef3')

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    python2 setup.py install --root="$pkgdir" --optimize=1

    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}