void-packages/srcpkgs/azote/template

28 lines
931 B
Bash
Raw Normal View History

2019-07-01 01:05:19 +02:00
# Template file for 'azote'
pkgname=azote
2019-10-16 01:31:22 +02:00
version=1.5.1
2019-08-03 00:57:41 +02:00
revision=1
2019-07-01 01:05:19 +02:00
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
2019-08-21 21:44:50 +02:00
depends="python3>=3.5 python3-setuptools python3-gobject python3-Pillow python3-send2trash gtk+3 feh xrandr wmctrl"
2019-07-01 01:05:19 +02: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-10-16 01:31:22 +02:00
checksum=1da35263cef47e7dd656de4b3f422a277db8c6b0d4d9b1256767a2446722cdb2
2019-07-01 01:05:19 +02:00
2019-07-01 23:18:26 +02:00
post_install() {
2019-07-01 01:05:19 +02: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 23:18:26 +02:00
}