void-packages/srcpkgs/mopag-git/template
2014-08-03 14:34:05 +02:00

26 lines
717 B
Bash

# Template file for 'mopag-git'
pkgname=mopag-git
version=20140803
revision=1
hostmakedepends="git"
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"
provides="mopag-${version}_${revision}"
replaces="mopag>=0"
pre_build() {
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
}
do_fetch() {
local url="git://github.com/c00kiemon5ter/mopag"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}