void-packages/srcpkgs/azote/template
2019-07-12 16:59:21 +02:00

27 lines
912 B
Bash

# Template file for 'azote'
pkgname=azote
version=1.2.0
revision=2
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
depends="python3>=3.5 python3-setuptools python3-gobject python3-Pillow 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=2334817981da2b10c188d67d738fae57ff1e45e1288e28fd021d765a813f061e
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}
}