app-misc/nwg-look: new package, add 0.2.1

Signed-off-by: Remigiusz Micielski <remigiusz.micielski@gmail.com>
This commit is contained in:
Remigiusz Micielski
2023-04-01 16:37:28 +02:00
parent b57e7a1075
commit 079b3dbe35
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST nwg-look-0.2.1-vendor.tar.xz 657808 BLAKE2B 979e1547e9f43696251d12c1c86cfef6c8c8a2c23b58bb3dfd3ff89cdd8328bc6805e56a99be67e2832bb301ce5707ecfe9b5d372b56d62e904373ea18ddce79 SHA512 34beffb4edbb51ebc48d25d25fdbbc91d7eaf3942c26999665510542ac1baa38f043d9d2771644696876a18d26edca81a7e51fdad59d273826e915e2513aa661
DIST nwg-look-0.2.1.tar.gz 21610 BLAKE2B 17fdeb383302f453b035538d66ca0dd287d2d19a3f3c60e02808409359037795c82519d581990f0b19e8b52352d19ffb59c3f2b2a08c030a28bdf5491b3d81a2 SHA512 2282bd8fb81a85dc739939cc501ef868def6bf01315910e9e8543b16c9d049cc248e4a642a3f31ae51e3e04fddbdeb17d9d2e6313eb4c29af71df28e058eb57a

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>remigiusz.micielski@gmail.com</email>
<name>Remigiusz Micielski</name>
</maintainer>
<upstream>
<bugs-to>https://gitlab.com/nwg-piotr/nwg-look/issues</bugs-to>
<remote-id type="github">nwg-piotr/nwg-look</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="GTK3 settings editor adapted to work in the sway / wlroots environment"
HOMEPAGE="https://github.com/nwg-piotr/nwg-look"
SRC_URI="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${PV}.tar.gz -> nwg-look-${PV}.tar.gz
https://github.com/micielski/nwg-look-vendor/releases/download/${PV}/nwg-look-${PV}-vendor.tar.xz
"
inherit go-module xdg-utils desktop
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
ego build
}
src_install() {
dobin nwg-look
insinto /usr/share/nwg-look
doins -r langs
doins stuff/main.glade
insinto /usr/share/pixmaps
doins stuff/nwg-look.svg
domenu stuff/nwg-look.desktop
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}