void-packages/srcpkgs/azote/template

28 lines
912 B
Bash
Raw Normal View History

2019-06-30 23:05:19 +00:00
# Template file for 'azote'
pkgname=azote
2019-07-01 21:18:26 +00:00
version=1.1.2
2019-06-30 23:05:19 +00:00
revision=1
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"
2019-07-01 21:18:26 +00:00
checksum=2caca782aa3b508c650dcdd44d49a183ac95282748edd6b960945c78986d6105
2019-06-30 23:05:19 +00:00
2019-07-01 21:18:26 +00:00
post_install() {
2019-06-30 23:05:19 +00:00
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}
2019-07-01 21:18:26 +00:00
}