New package: azote-1.1.1

This commit is contained in:
piotr 2019-07-01 01:05:19 +02:00 committed by Helmut Pozimski
parent 3b065d401b
commit 4c6118032d
1 changed files with 28 additions and 0 deletions

28
srcpkgs/azote/template Normal file
View File

@ -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 <nwg.piotr@gmail.com>"
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}
}