# Template file for 'meh-git'
pkgname=meh-git
version=20140803
revision=2
hostmakedepends="git"
makedepends="libX11-devel libXext-devel libjpeg-turbo-devel giflib-devel libpng-devel"
build_style=gnu-makefile
short_desc="Small, simple and super fast image viewer"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://www.johnhawthorn.com/meh/"
provides="meh-${version}_${revision}"
replaces="meh>=0"

do_fetch() {
	local url="git://github.com/jhawthorn/meh"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/meh
}
