void-packages/srcpkgs/xdgmenumaker/template

26 lines
775 B
Bash

# Template file for 'xdgmenumaker'
pkgname=xdgmenumaker
version=2.0
revision=1
build_style=gnu-makefile
hostmakedepends="txt2tags"
depends="python3-xdg python3-gobject gobject-introspection python3-Pillow gtk+3"
short_desc="Automatic menu generator for WMs, such as, fluxbox, icewm, jwm, pekwm"
maintainer="reback00 <reback00@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/gapan/xdgmenumaker"
distfiles="https://github.com/gapan/xdgmenumaker/archive/${version}.tar.gz"
checksum=eda8f25a09131db2186035d660fea8ae13f016c0f4a51f7bb52a39c7deb9e328
python_version=3
pre_build() {
txt2tags --target man man/xdgmenumaker.t2t
}
pre_install() {
# Install generated man page
vman man/xdgmenumaker.1
# Install README.md as documentation
vdoc README.md
}