void-packages/srcpkgs/kickshaw/template

29 lines
863 B
Bash

# Template file for 'kickshaw'
pkgname=kickshaw
version=1.0.31
revision=2
build_style=gnu-makefile
wrksrc="${pkgname}_${version}_GTK3_source_only"
build_wrksrc="source"
hostmakedepends="pkg-config"
makedepends="gtk+3-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=6d47c1ac77aa7ec2da2c04b3f8c30c8858002b16a7f2e1bd29746b55a915c335
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
}