void-packages/srcpkgs/i3blocks/template

18 lines
542 B
Bash

# Template file for 'i3blocks'
pkgname=i3blocks
version=1.3
revision=1
build_style=gnu-makefile
short_desc="Flexible scheduler for i3bar"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-3"
homepage="https://github.com/vivien/$pkgname"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=d1c46aed1df766758e000ca18e8cd0fbf0176f99c95a80dd3b036231a0b149ab
pre_build() {
# Do not build man pages since we don't have ronn:
sed -i '/install.*share\/man\/man1/d' Makefile
sed -i 's/install: all man/install: all/' Makefile
}