vimiv: rebuild for Python 3.9

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:56:22 -04:00
parent 4e3fd10af0
commit 420b95ef12

View file

@ -1,10 +1,10 @@
# Template file for 'vimiv'
pkgname="vimiv"
pkgname=vimiv
version=0.9.1
revision=4
build_style=gnu-makefile
pycompile_module=vimiv
revision=5
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>"
@ -12,3 +12,20 @@ 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}
}