void-packages/srcpkgs/mopag-git/template

27 lines
717 B
Text
Raw Normal View History

2014-04-14 19:00:59 +00:00
# Template file for 'mopag-git'
pkgname=mopag-git
2014-08-03 12:34:05 +00:00
version=20140803
2014-04-14 19:00:59 +00:00
revision=1
hostmakedepends="git"
2014-04-14 19:00:59 +00:00
makedepends="libX11-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="A small pager for monsterwm"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="Public Domain"
homepage="https://github.com/c00kiemon5ter/mopag"
2014-05-31 11:19:56 +00:00
provides="mopag-${version}_${revision}"
replaces="mopag>=0"
2014-04-14 19:00:59 +00:00
2014-08-03 12:34:05 +00:00
pre_build() {
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
}
2014-04-14 19:00:59 +00:00
do_fetch() {
local url="git://github.com/c00kiemon5ter/mopag"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}