From b69ec47cfd1417521cfb83b1385b61a7612c5814 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sat, 16 Mar 2024 22:14:00 +0100 Subject: [PATCH] New package: nwg-displays-0.3.16 --- srcpkgs/nwg-displays/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/nwg-displays/template diff --git a/srcpkgs/nwg-displays/template b/srcpkgs/nwg-displays/template new file mode 100644 index 00000000000000..5cb3ebeed7c056 --- /dev/null +++ b/srcpkgs/nwg-displays/template @@ -0,0 +1,27 @@ +# Template file for 'nwg-displays' +pkgname=nwg-displays +version=0.3.16 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="python3-gobject python3-i3ipc gtk+3 gtk-layer-shell" +checkdepends="python3-wheel python3-testtools" +short_desc="Intuitive GUI to manage multiple displays for wayland" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-displays" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-displays/archive/refs/tags/v${version}.tar.gz" +checksum=8273f9806f5dfcc205eee0649b8efffceb7bf90a1b4d976b99d4c10d40152986 + +post_install() { + vinstall nwg-displays.svg 644 /usr/share/pixmaps + vinstall nwg-displays.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-displays + + for lang in nwg_displays/langs/*.json; do + vinstall "${lang}" 644 /usr/share/nwg-displays/langs + done + + vlicense LICENSE +}