2013-08-29 12:25:24 +02:00
|
|
|
# Template file for 'sxiv-git'
|
|
|
|
pkgname=sxiv-git
|
2014-08-20 14:13:53 +02:00
|
|
|
version=20140820
|
2014-07-05 18:59:08 +02:00
|
|
|
revision=1
|
2013-12-30 18:42:38 +01:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-07-05 18:59:08 +02:00
|
|
|
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel
|
|
|
|
desktop-file-utils"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="desktop-file-utils"
|
2013-08-29 12:25:24 +02:00
|
|
|
short_desc="Simple X Image Viewer"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/muennich/sxiv"
|
2014-05-31 13:28:16 +02:00
|
|
|
provides="sxiv-${version}_${revision}"
|
|
|
|
replaces="sxiv>=0"
|
2013-08-29 12:25:24 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/muennich/sxiv"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 18:42:38 +01:00
|
|
|
pre_build() {
|
2014-08-03 17:24:02 +02:00
|
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
|
|
|
|
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile
|
|
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
|
2013-08-29 12:25:24 +02:00
|
|
|
}
|
|
|
|
|
2013-12-30 18:42:38 +01:00
|
|
|
post_install() {
|
2014-07-05 18:59:08 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/sxiv
|
2013-08-29 12:25:24 +02:00
|
|
|
}
|