aboutsummaryrefslogtreecommitdiffstats
path: root/community/setconf/APKBUILD
blob: 5f42bb2f71124e4115b0032fe9147eb33896ac52 (plain) (blame)
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
# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
pkgname=setconf
pkgver=0.7.6
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/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
}

sha512sums="46f63e5b5659a53ab7e756cd879f49a371adcbf18a3e9d4fed902b4eba5ca398e4b64206e43e97fdb422d3ad3f3b0b8c1b4ace5931cbefab10f95fe28f8baf80  setconf-0.7.6.tar.gz"