27 lines
667 B
Text
27 lines
667 B
Text
# Template file for 'sxiv-git'
|
|
pkgname=sxiv-git
|
|
version=20140531
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
makedepends="libX11-devel imlib2-devel giflib-devel desktop-file-utils"
|
|
depends="desktop-file-utils"
|
|
short_desc="Simple X Image Viewer"
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
license="GPL-2"
|
|
homepage="https://github.com/muennich/sxiv"
|
|
provides="sxiv-${version}_${revision}"
|
|
replaces="sxiv>=0"
|
|
|
|
do_fetch() {
|
|
local url="git://github.com/muennich/sxiv"
|
|
msg_normal "Fetching source from $url ...\n"
|
|
git clone ${url} ${pkgname}-${version}
|
|
}
|
|
|
|
pre_build() {
|
|
cp ${FILESDIR}/config.h config.h
|
|
}
|
|
|
|
post_install() {
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
}
|