2013-08-29 10:25:24 +00:00
|
|
|
# Template file for 'sxiv-git'
|
|
|
|
pkgname=sxiv-git
|
2014-04-27 11:13:54 +00:00
|
|
|
version=20140427
|
2013-08-29 10:25:24 +00:00
|
|
|
revision=1
|
2013-12-30 17:42:38 +00:00
|
|
|
build_style=gnu-makefile
|
2014-01-01 15:10:11 +00:00
|
|
|
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"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/muennich/sxiv"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 17:42:38 +00:00
|
|
|
pre_build() {
|
2013-08-29 10:25:24 +00:00
|
|
|
cp ${FILESDIR}/config.h config.h
|
|
|
|
}
|
|
|
|
|
2013-12-30 17:42:38 +00:00
|
|
|
post_install() {
|
2013-08-29 10:25:24 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|