void-packages/srcpkgs/mopag/template

22 lines
713 B
Bash

# Template file for 'mopag'
pkgname=mopag
version=0.0.0.20150613
revision=1
makedepends="libX11-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="A small pager for monsterwm"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="Public Domain"
homepage="https://github.com/c00kiemon5ter/${pkgname}"
distfiles="https://github.com/c00kiemon5ter/${pkgname}/archive/master.tar.gz"
checksum="23fd37f589f0f306c995f817bf88c32972ca5b0b53d064c4c3b5a877105d9204"
replaces="mopag>=0"
wrksrc="${pkgname}-master"
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
}