void-packages/srcpkgs/xdgmenumaker/template

26 lines
767 B
Bash

# Template file for 'xdgmenumaker'
pkgname=xdgmenumaker
version=1.6
revision=2
build_style=gnu-makefile
hostmakedepends="txt2tags"
depends="python3-xdg python3-gobject gobject-introspection python3-Pillow"
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/${pkgname}/archive/${version}.tar.gz"
checksum=46192e7e4e25b024c0516d83e8fc2c503dd1ac8e5f8c1998d3e9e4b3cbf8919b
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
}