void-packages/srcpkgs/comic-git/template

27 lines
633 B
Plaintext

# Template file for 'comic-git'
pkgname=comic-git
version=20140706
revision=1
makedepends="libX11-devel libjpeg-turbo-devel"
build_style=gnu-makefile
short_desc="Minimalistic image viewer for Linux"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/yjh0502/comic"
provides="comic-${version}_${revision}"
replaces="comic>=0"
do_fetch() {
local url="git://github.com/yjh0502/comic"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed -i 's| -I/usr/include||g' config.mk
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/comic
}