void-packages/srcpkgs/azote/template
2019-11-03 10:45:28 +01:00

28 lines
974 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.7.0
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 wmctrl"
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=e121466d3ee3db700e78a379da4201885bdcf4375222e906ad47d22c5ed38e6e
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}
}