void-packages/srcpkgs/networkmanager-dmenu/template

26 lines
765 B
Bash

# Template file for 'networkmanager-dmenu'
pkgname=networkmanager-dmenu
version=1.1
revision=2
archs=noarch
conf_files="/etc/networkmanager_dmenu-config.ini"
depends="NetworkManager python3-gobject"
short_desc="Control NetworkManager via dmenu"
maintainer="teldra <teldra@rotce.de>"
license="MIT"
homepage="https://github.com/firecat53/${pkgname}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=279695b8833ec790cf0c00ec2eb36be09ca33a39aa9595578e2e3d2f644dd998
python_version=3
do_install() {
vmkdir usr/share/applications
vinstall networkmanager_dmenu.desktop 644 usr/share/applications
vbin networkmanager_dmenu
vconf config.ini.example networkmanager_dmenu-config.ini
vsconf config.ini.example
vdoc README.rst
vlicense LICENSE.txt LICENSE
}