sxiv-git: removed; sxiv stable pkg is here

This commit is contained in:
Alessio Sergi 2014-10-26 02:31:10 +02:00
parent f3eccf1c77
commit ae81113fa9

View file

@ -1,31 +0,0 @@
# Template file for 'sxiv-git'
pkgname=sxiv-git
version=20140820
revision=2
build_style=gnu-makefile
hostmakedepends="git"
makedepends="libX11-devel imlib2-devel giflib-devel libexif-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() {
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/sxiv
}