# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
pkgname=setconf
pkgver=0.7.5
pkgrel=0
pkgdesc="Utility for easily changing settings in configuration files"
url="http://setconf.roboticoverlords.org/"
arch="noarch"
license="GPL-2.0"
depends="python3"
subpackages="$pkgname-doc"
source="http://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/"

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname" || return 1
	install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz" || return 1
}

sha512sums="9ebce34cd5db1c2bd33449291c2fa8ab4bd0614b8fa58de028f3caf00201c79f385f373ebd627528f825cdceea55e9a4b3d936c5cadec1776a373c4bdd47545b  setconf-0.7.5.tar.xz"
