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-08-02 22:57:41 +00:00
version=1.3.0
revision=1
2019-06-30 23:05:19 +00:00
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
2019-07-10 22:07:55 +00:00
depends="python3>=3.5 python3-setuptools python3-gobject python3-Pillow gtk+3 feh xrandr wmctrl"
2019-06-30 23:05:19 +00:00
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-08-02 22:57:41 +00:00
checksum=fb66f06b8a53fbb9bb64b0a0260a187dc4f5b2a313f90e3f349bd5440e021334
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
}