void-packages/srcpkgs/gpicview/template

21 lines
709 B
Bash

# Template file for 'gpicview'
pkgname=gpicview
version=0.2.5
revision=4
build_style=gnu-configure
configure_args="--enable-gtk3"
hostmakedepends="pkg-config intltool"
makedepends="libjpeg-turbo-devel gtk+3-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="Simple and Fast Image Viewer for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lxde.org/"
distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
checksum=38466058e53702450e5899193c4b264339959b563dd5cd81f6f690de32d82942
patch_args="-Np1"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
vsed -i -e '/^Categories=/ s/Utility;//' gpicview.desktop.in
}