void-packages/srcpkgs/xcmenu/template

27 lines
773 B
Bash
Raw Normal View History

# Template file for 'xcmenu'
pkgname=xcmenu
version=0.1.0
2015-06-14 10:30:29 +00:00
revision=3
build_style=gnu-makefile
makedepends="zlib-devel libxcb-devel"
depends="dmenu"
short_desc="Lightweight clipboard manager for X"
maintainer="Duncaen <mail@duncano.de>"
license="WTFPL"
homepage="http://github.com/Cloudef/${pkgname}"
distfiles="https://github.com/Cloudef/${pkgname}/archive/v${version}.tar.gz"
checksum="149e95ce715c77eaa179b4b8df6c499a4570915a5a094b49a7d914e0073097f1"
2015-06-14 10:30:29 +00:00
replaces="xcmenu-git>=0"
pre_build() {
2015-06-13 11:12:47 +00:00
sed -i '15i #include <fcntl.h>' xcmenu.c
sed -i 's|-Os ||g' config.mk
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}