20 lines
592 B
Bash
20 lines
592 B
Bash
# Template file for 'i3blocks'
|
|
pkgname=i3blocks
|
|
version=1.4
|
|
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=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
|
|
|
|
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
|
|
}
|