void-packages/srcpkgs/azote/template
2019-10-17 13:04:59 +02:00

27 lines
931 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.5.1
revision=1
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
depends="python3>=3.5 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="GPL-3.0-or-later"
homepage="https://github.com/nwg-piotr/azote"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=1da35263cef47e7dd656de4b3f422a277db8c6b0d4d9b1256767a2446722cdb2
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
ln -sf /usr/share/${pkgname}/${pkgname}-void.sh ${DESTDIR}/usr/bin/${pkgname}
}