# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgname=setconf
pkgver=0.7.7
pkgrel=2
pkgdesc='Utility to easily change settings in configuration files'
arch=('any')
url='https://setconf.roboticoverlords.org/'
msys2_references=(
  "anitya: 13746"
)
license=('GPL2')
depends=('python3')
source=("https://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz")
sha256sums=('19315574540b3181fec31a4059b9e058381e0192317f153d181e7e7e2aa84d86')

package() {
  cd "$pkgname-$pkgver"

  install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
}
