void-packages/srcpkgs/azote/template

29 lines
1011 B
Bash
Raw Normal View History

2019-07-01 01:05:19 +02:00
# Template file for 'azote'
pkgname=azote
2019-12-07 01:29:50 +01:00
version=1.7.7
2019-12-24 12:24:25 +01:00
revision=2
2019-07-01 01:05:19 +02:00
archs=noarch
build_style=python3-module
pycompile_module="azote"
hostmakedepends="python3-setuptools"
2019-12-07 01:29:50 +01:00
depends="python3>=3.4 python3-setuptools python3-gobject python3-Pillow gtk+3 feh python3-send2trash xrandr grim slurp maim ImageMagick python3-yaml"
short_desc="Wallpaper & color manager for Sway, i3 and other WMs"
2019-07-01 01:05:19 +02:00
maintainer="Piotr Miller <nwg.piotr@gmail.com>"
2019-11-03 00:35:02 +01:00
license="BSD-3-Clause, GPL-3.0-or-later"
2019-07-01 01:05:19 +02:00
homepage="https://github.com/nwg-piotr/azote"
distfiles="${homepage}/archive/v${version}.tar.gz"
2019-12-07 01:29:50 +01:00
checksum=d1da9c8a0760e4a0e85fd5c77632d4f6763f779ac0852e706fc8fb8f286bc402
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
2019-11-03 00:35:02 +01:00
vlicense LICENSE-COLORTHIEF
2019-07-01 01:05:19 +02:00
ln -sf /usr/share/${pkgname}/${pkgname}-void.sh ${DESTDIR}/usr/bin/${pkgname}
2019-07-01 23:18:26 +02:00
}