void-packages/srcpkgs/vimiv/template
2021-10-09 08:01:13 -04:00

31 lines
845 B
Bash

# Template file for 'vimiv'
pkgname=vimiv
version=0.9.1
revision=6
build_style=python3-module
hostmakedepends="python3-setuptools python3-devel"
makedepends="python3-devel"
depends="python3 gtk+3 python3-gobject"
short_desc="Image viewer with vim-like keybindings"
maintainer="Dawid Sowa <dawid_sowa@posteo.net>"
license="MIT"
homepage="http://karlch.github.io/vimiv/"
distfiles="https://github.com/karlch/vimiv/archive/v${version}.tar.gz"
checksum=7196341c41ad372f4d5d98bc96fba4aa55ad6e78d93afd617a62866bdaa6c087
conf_files="/etc/vimiv/*"
post_install() {
vlicense LICENSE
vinstall config/vimivrc 0644 etc/vimiv
vinstall config/keys.conf 0644 etc/vimiv
vinstall vimiv.desktop 0644 usr/share/applications
vman man/vimiv.1
vman man/vimivrc.5
vinstall vimiv.appdata.xml 0644 usr/share/appdata
./scripts/install_icons.sh ${DESTDIR}
}