# Maintainer: Michael Koloberdin pkgname=setconf pkgver=0.7.7 pkgrel=5 pkgdesc="Utility for easily changing settings in configuration files" url="https://setconf.roboticoverlords.org/" arch="noarch" license="GPL-2.0" depends="python3" makedepends="python3-dev py3-setuptools" subpackages="$pkgname-doc $pkgname-pyc" source="https://files.pythonhosted.org/packages/source/s/setconf/setconf-$pkgver.tar.gz" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1" } sha512sums="324fe0ae40e354f6d6afdf3e2be31888086922e4aeded44c5c36d6dbad4e697232cd3b18080498a3a9ea45c1409d29fc3c764a3cf0ea4d98ae758cba9973b74f setconf-0.7.7.tar.gz"