summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9c5be8926aebf4622c8d47540521254f963f9b9 (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
# Maintainer: Ananas <ananas@ananas.moe>
pkgname=python-decouple
pkgver="3.8"
pkgrel=1
pkgdesc="Strict separation of config from code."
arch=("x86_64" "i686")
url="https://github.com/HBNetwork/python-decouple"
license=("MIT")
makedepends=('python-setuptools')
depends=(
	"python"
)
optdepends=()
checkdepends=()
provides=("python-decouple")
conflicts=(	)
md5sums=("SKIP")
source=(
	"${pkgname}-${pkgver}.zip::https://github.com/HBNetwork/python-decouple/archive/refs/tags/v$pkgver.zip"
)

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

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