void-packages/srcpkgs/azote/template
2019-12-24 12:24:25 +01:00

28 lines
1,011 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.7.7
revision=2
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
depends="python3>=3.4 python3-setuptools python3-gobject python3-Pillow gtk+3 feh python3-send2trash xrandr grim slurp maim ImageMagick python3-yaml"
short_desc="Wallpaper & color manager for Sway, i3 and 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=d1da9c8a0760e4a0e85fd5c77632d4f6763f779ac0852e706fc8fb8f286bc402
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}
}