diff --git a/srcpkgs/azote/template b/srcpkgs/azote/template new file mode 100644 index 00000000000..6d2b76318de --- /dev/null +++ b/srcpkgs/azote/template @@ -0,0 +1,28 @@ +# Template file for 'azote' +pkgname=azote +version=1.1.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 gtk+3 feh xrandr wmctrl" +short_desc="Wallpaper manager for Sway, i3 and some other WMs" +maintainer="Piotr Miller " +license="GPL-3.0-or-later" +homepage="https://github.com/nwg-piotr/azote" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=f7c818b11d3add7af9388589fc6658b0121772acdf899a5ba4a275d082621a63 + +do_install() { + python3 setup.py install --prefix=/usr --root=${DESTDIR} ${make_install_args} + 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} +} \ No newline at end of file