void-packages/srcpkgs/azote/template
2020-10-10 10:21:09 -04:00

26 lines
963 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.7.10
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3>=3.4 python3-setuptools python3-gobject python3-Pillow gtk+3 feh python3-send2trash xrandr grim slurp 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=e9ecd2104689c05fb2a37bb160543d80e9fd245c5274ab16fc021f400d738d35
post_install() {
vmkdir usr/bin
vmkdir usr/share/${pkgname}
vmkdir usr/share/applications
vcopy "dist/${pkgname}.svg" usr/share/${pkgname}
vcopy "dist/${pkgname}-arch" usr/share/${pkgname}
vcopy "dist/${pkgname}.desktop" usr/share/applications
vlicense LICENSE-COLORTHIEF
ln -sf /usr/share/${pkgname}/${pkgname}-arch ${DESTDIR}/usr/bin/${pkgname}
}