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-08 23:25:43 +00:00
version=1.2.0
2019-07-10 22:07:55 +00:00
revision=2
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-07-08 23:25:43 +00:00
checksum=2334817981da2b10c188d67d738fae57ff1e45e1288e28fd021d765a813f061e
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
}