summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6ad53e960e99737c51d8f690e33d1b03f00dac4 (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: AlphaJack <alphajack at tuta dot io>

pkgname="python-pyyaml-env-tag"
_name="${pkgname#python-}"
_pyname="${_name//-/_}"
pkgver=0.1
pkgrel=1
pkgdesc=" A custom YAML tag for referencing environment variables in YAML files"
url="https://github.com/waylan/pyyaml-env-tag"
license=("MIT")
arch=("any")
depends=("python-yaml")
makedepends=("python-setuptools")
source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz")
sha256sums=("70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb")

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

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