aboutsummaryrefslogtreecommitdiffstats
path: root/community/setconf/APKBUILD
blob: cbf02f595f8a481c5501bd871d9e44def77fedd1 (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
# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
pkgname=setconf
pkgver=0.7.7
pkgrel=1
pkgdesc="Utility for easily changing settings in configuration files"
url="http://setconf.roboticoverlords.org/"
arch="noarch"
license="GPL-2.0"
depends="python3"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-doc"
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 --prefix=/usr --root="$pkgdir"
	install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
}

sha512sums="324fe0ae40e354f6d6afdf3e2be31888086922e4aeded44c5c36d6dbad4e697232cd3b18080498a3a9ea45c1409d29fc3c764a3cf0ea4d98ae758cba9973b74f  setconf-0.7.7.tar.gz"