void-packages/srcpkgs/kickshaw/template

28 lines
827 B
Bash

# Template file for 'kickshaw'
pkgname=kickshaw
version=1.0.73
revision=1
build_wrksrc="source"
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="gtk+3-devel pcre2-devel"
depends="desktop-file-utils"
short_desc="Menu editor for Openbox"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://savannah.nongnu.org/projects/obladi"
distfiles="http://download-mirror.savannah.gnu.org/releases/obladi/kickshaw_${version}_GTK3_source_only.tar.bz2"
checksum=fc97873f5c0a5e69c401ec83dbf34c9244b24268235dc6d16f272d5deafb6a99
pre_build() {
CFLAGS+=" $(pkg-config --cflags gtk+-3.0)"
}
do_install() {
vbin kickshaw
vmkdir usr/share/applications
sed ${FILESDIR}/kickshaw.desktop -e "s;@version@;$version;" \
> ${DESTDIR}/usr/share/applications/kickshaw.desktop
vdoc ../README
}