New package: setconf-0.7.4
This commit is contained in:
parent
16331a1fc4
commit
90a7f15321
2 changed files with 39 additions and 0 deletions
1
srcpkgs/python3-setconf
Symbolic link
1
srcpkgs/python3-setconf
Symbolic link
|
@ -0,0 +1 @@
|
|||
setconf
|
38
srcpkgs/setconf/template
Normal file
38
srcpkgs/setconf/template
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'setconf'
|
||||
pkgname=setconf
|
||||
version=0.7.4
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
pycompile_module="setconf.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Utility for changing settings in configuration textfiles (Python2)"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://setconf.roboticoverlords.org/"
|
||||
distfiles="https://github.com/xyproto/setconf/archive/${version}.tar.gz"
|
||||
checksum=15efd5bb600acbd2a885bd5ac04ee7e8c45dd4ce3b356f6d3de56e8b903e8568
|
||||
|
||||
alternatives="
|
||||
setconf:setconf:/usr/bin/setconf2
|
||||
setconf:setconf.1:/usr/share/man/man1/setconf2.1"
|
||||
|
||||
post_install() {
|
||||
vman setconf.1 setconf2.1
|
||||
}
|
||||
|
||||
python3-setconf_package() {
|
||||
noarch=yes
|
||||
depends="python3"
|
||||
pycompile_module="setconf.py"
|
||||
alternatives="
|
||||
setconf:setconf:/usr/bin/setconf3
|
||||
setconf:setconf.1:/usr/share/man/man1/setconf3.1"
|
||||
short_desc="${short_desc/2/3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/setconf3
|
||||
vmove usr/lib/python3*
|
||||
vman setconf.1 setconf3.1
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue