summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3cb43508e160ba09f5441b87e3725c26a5f99d0f (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
# Generated using pip2pkgbuild - https://github.com/wenLiangcan/pip2pkgbuild | https://aur.archlinux.org/packages/pip2pkgbuild
# Maintainer: Ryen Burns <bburns91@gmail.com>

pkgbase='python-submit50'
pkgname=('python-submit50')
_module='submit50'
pkgver='3.1.1'
pkgrel=1
pkgdesc="This is submit50, with which you can submit solutions to problems for CS50."
url="https://github.com/cs50/submit50"
depends=('python')
makedepends=('python-build' 'python-installer')
optdepends=('python-babel')
license=('GPLv3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
sha256sums=('f4656b1b5db4d58344b35635f4bd7db77f158651feae0ebb1a76d528d63fadce')

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
}