void-packages/srcpkgs/i3blocks/template

20 lines
592 B
Bash
Raw Normal View History

2014-11-10 11:04:50 +01:00
# Template file for 'i3blocks'
pkgname=i3blocks
2015-07-07 08:56:01 +02:00
version=1.4
revision=1
2014-11-10 11:04:50 +01:00
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"
2015-07-07 08:56:01 +02:00
checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
2014-11-10 11:04:50 +01:00
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
sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
2014-11-10 11:04:50 +01:00
}