From ed55f7e65f6b0c6652fcbee3ea0d921a640ee6ff Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Wed, 17 May 2023 13:49:33 -0400 Subject: [PATCH] New package: nwg-look-0.2.2 --- srcpkgs/nwg-look/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/nwg-look/template diff --git a/srcpkgs/nwg-look/template b/srcpkgs/nwg-look/template new file mode 100644 index 000000000000..5f079c5b1a32 --- /dev/null +++ b/srcpkgs/nwg-look/template @@ -0,0 +1,27 @@ +# Template file for 'nwg-look' +pkgname=nwg-look +version=0.2.2 +revision=1 +build_style=go +go_import_path=github.com/nwg-piotr/nwg-look +hostmakedepends="pkg-config" +makedepends="cairo-devel gtk+3-devel libglib-devel pango-devel" +depends="xcur2png" +short_desc="GTK3 settings editor adapted to work in the wlroots environment" +maintainer="cinerea0 " +license="MIT" +homepage="https://github.com/nwg-piotr/nwg-look" +distfiles="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${version}.tar.gz" +checksum=250e5e4e29c3e4fa047c3ab95c1946307c7290cc5a30b0cfe08c0919ace6ba87 + +post_install() { + vinstall stuff/main.glade 644 /usr/share/nwg-look + vinstall stuff/nwg-look.desktop 644 /usr/share/applications + vinstall stuff/nwg-look.svg 644 /usr/share/pixmaps + + for lang in langs/*.json; do + vinstall ${lang} 644 /usr/share/nwg-look/langs + done + + vlicense LICENSE +}