void-packages/srcpkgs/sxiv-git/template

28 lines
667 B
Text
Raw Normal View History

2013-08-29 10:25:24 +00:00
# Template file for 'sxiv-git'
pkgname=sxiv-git
2014-05-31 10:11:29 +00:00
version=20140531
2014-05-31 11:28:16 +00:00
revision=2
build_style=gnu-makefile
makedepends="libX11-devel imlib2-devel giflib-devel desktop-file-utils"
depends="desktop-file-utils"
2013-08-29 10:25:24 +00:00
short_desc="Simple X Image Viewer"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="https://github.com/muennich/sxiv"
2014-05-31 11:28:16 +00:00
provides="sxiv-${version}_${revision}"
replaces="sxiv>=0"
2013-08-29 10:25:24 +00:00
do_fetch() {
local url="git://github.com/muennich/sxiv"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
2013-08-29 10:25:24 +00:00
cp ${FILESDIR}/config.h config.h
}
post_install() {
2013-08-29 10:25:24 +00:00
vinstall LICENSE 644 usr/share/licenses/$pkgname
}