void-packages/srcpkgs/kickshaw/template
2020-12-12 18:00:09 -03:00

28 lines
863 B
Bash

# Template file for 'kickshaw'
pkgname=kickshaw
version=1.0.32
revision=1
wrksrc="${pkgname}_${version}_GTK3_source_only"
build_wrksrc="source"
build_style=gnu-makefile
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=9cc6b4b6bc980f776dbfdcd5390a77e33e067b70c2d71d5c0d05218487f3ff29
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
}