void-packages/srcpkgs/mopag-git/template

27 lines
717 B
Plaintext
Raw Normal View History

2014-04-14 21:00:59 +02:00
# Template file for 'mopag-git'
pkgname=mopag-git
2014-08-03 14:34:05 +02:00
version=20140803
2014-04-14 21:00:59 +02:00
revision=1
hostmakedepends="git"
2014-04-14 21:00:59 +02: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 13:19:56 +02:00
provides="mopag-${version}_${revision}"
replaces="mopag>=0"
2014-04-14 21:00:59 +02:00
2014-08-03 14:34:05 +02: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 21:00:59 +02:00
do_fetch() {
local url="git://github.com/c00kiemon5ter/mopag"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}