void-packages/srcpkgs/azote/template

29 lines
983 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.7.4
revision=1
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
depends="python3>=3.4 python3-setuptools python3-gobject python3-Pillow python3-send2trash gtk+3 feh xrandr grim slurp maim"
short_desc="Wallpaper manager for Sway, i3 and some other WMs"
maintainer="Piotr Miller <nwg.piotr@gmail.com>"
license="BSD-3-Clause, GPL-3.0-or-later"
homepage="https://github.com/nwg-piotr/azote"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=617248a0506b78dd3f1f924b34b0b958e3af58a218e93918086f9294a453a3fd
post_install() {
vmkdir usr/bin
vmkdir usr/share/${pkgname}
vmkdir usr/share/applications
vcopy "dist/${pkgname}.svg" usr/share/${pkgname}
vcopy "dist/${pkgname}-void.sh" usr/share/${pkgname}
vcopy "dist/${pkgname}.desktop" usr/share/applications
vlicense LICENSE-COLORTHIEF
ln -sf /usr/share/${pkgname}/${pkgname}-void.sh ${DESTDIR}/usr/bin/${pkgname}
}