mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 00:52:18 +01:00
27 lines
840 B
Plaintext
27 lines
840 B
Plaintext
# 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"
|