summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e617eedb2315db09a8ab33d0448d822a5766711 (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
29
30
31
32
33
34
35
# Maintainer: brent s. <bts[at]square-r00t[dot]net>
validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=('python-steamodd' 'python2-steamodd')
pkgver=4.21
pkgrel=2
pkgdesc="Python module for working with Steam's API"
arch=( 'i686' 'x86_64' )
url="https://steamodd.readthedocs.io/en/latest/"
license=( 'CUSTOM' )
makedepends=( 'python' 'python-setuptools' 'python2' 'python2-setuptools' )
conflicts=('python-steamodd-git')
_pkgname=steamodd
install=
changelog=
noextract=()
source=("https://github.com/Lagg/steamodd/archive/v4.21.tar.gz"
        "v4.21.tar.gz.sig")
sha512sums=('5be53dd30476f1bfac725e97f691331f83c09ec44816ea34ae0a6917b74f324020919ffb7ec18e9d39c2f93fd898368fa642ff962625cdcb31e61425d3fb14fd'
            'SKIP')

package_python-steamodd() {
        depends=('python')
        cd "${srcdir}/${_pkgname}-${pkgver}"
        python3 setup.py install --root="${pkgdir}" --optimize=1
        install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

package_python2-steamodd() {
        depends=('python')
        cd "${srcdir}/${_pkgname}-${pkgver}"
        python2 setup.py install --root="${pkgdir}" --optimize=1
        install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}