void-packages/srcpkgs/mopag/template

22 lines
712 B
Bash

# Template file for 'mopag'
pkgname=mopag
version=0.0.0.20150613
revision=2
wrksrc="${pkgname}-master"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
makedepends="libX11-devel"
short_desc="A small pager for monsterwm"
maintainer='Juan RP <xtraeme@voidlinux.org>'
license="Public Domain"
homepage="https://github.com/c00kiemon5ter/${pkgname}"
distfiles="https://github.com/c00kiemon5ter/${pkgname}/archive/master.tar.gz"
checksum=23fd37f589f0f306c995f817bf88c32972ca5b0b53d064c4c3b5a877105d9204
replaces="mopag>=0"
pre_build() {
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' Makefile
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' Makefile
}