# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module EGO_SUM=( "github.com/BurntSushi/toml v0.3.1" "github.com/BurntSushi/toml v0.3.1/go.mod" "github.com/akavel/rsrc v0.8.0" "github.com/akavel/rsrc v0.8.0/go.mod" "github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a" "github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod" "github.com/asticode/go-astikit v0.6.0/go.mod" "github.com/asticode/go-astikit v0.8.0" "github.com/asticode/go-astikit v0.8.0/go.mod" "github.com/asticode/go-astilectron v0.16.0" "github.com/asticode/go-astilectron v0.16.0/go.mod" "github.com/asticode/go-astilectron-bootstrap v0.4.1" "github.com/asticode/go-astilectron-bootstrap v0.4.1/go.mod" "github.com/asticode/go-astilectron-bundler v0.7.0" "github.com/asticode/go-astilectron-bundler v0.7.0/go.mod" "github.com/asticode/go-bindata v1.0.0" "github.com/asticode/go-bindata v1.0.0/go.mod" "github.com/avast/retry-go v2.6.1+incompatible" "github.com/avast/retry-go v2.6.1+incompatible/go.mod" "github.com/boltdb/bolt v1.3.1" "github.com/boltdb/bolt v1.3.1/go.mod" "github.com/davecgh/go-spew v1.1.0/go.mod" "github.com/davecgh/go-spew v1.1.1" "github.com/davecgh/go-spew v1.1.1/go.mod" "github.com/go-openapi/errors v0.19.2" "github.com/go-openapi/errors v0.19.2/go.mod" "github.com/go-openapi/strfmt v0.19.2" "github.com/go-openapi/strfmt v0.19.2/go.mod" "github.com/go-stack/stack v1.8.0" "github.com/go-stack/stack v1.8.0/go.mod" "github.com/google/go-cmp v0.3.0" "github.com/google/go-cmp v0.3.0/go.mod" "github.com/google/renameio v0.1.0/go.mod" "github.com/google/uuid v1.1.1" "github.com/google/uuid v1.1.1/go.mod" "github.com/jedib0t/go-pretty v4.3.0+incompatible" "github.com/jedib0t/go-pretty v4.3.0+incompatible/go.mod" "github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod" "github.com/kisielk/gotool v1.0.0/go.mod" "github.com/kr/pretty v0.1.0/go.mod" "github.com/kr/pty v1.1.1/go.mod" "github.com/kr/text v0.1.0" "github.com/kr/text v0.1.0/go.mod" "github.com/magiconair/properties v1.8.1" "github.com/magiconair/properties v1.8.1/go.mod" "github.com/mattn/go-isatty v0.0.12/go.mod" "github.com/mattn/go-runewidth v0.0.9" "github.com/mattn/go-runewidth v0.0.9/go.mod" "github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2" "github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2/go.mod" "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db" "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod" "github.com/mitchellh/mapstructure v1.1.2" "github.com/mitchellh/mapstructure v1.1.2/go.mod" "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e" "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod" "github.com/pkg/errors v0.8.1" "github.com/pkg/errors v0.8.1/go.mod" "github.com/pmezard/go-difflib v1.0.0" "github.com/pmezard/go-difflib v1.0.0/go.mod" "github.com/rogpeppe/go-internal v1.3.0/go.mod" "github.com/sam-kamerer/go-plister v1.2.0" "github.com/sam-kamerer/go-plister v1.2.0/go.mod" "github.com/schollz/progressbar/v3 v3.5.0" "github.com/schollz/progressbar/v3 v3.5.0/go.mod" "github.com/stretchr/objx v0.1.0/go.mod" "github.com/stretchr/objx v0.2.0/go.mod" "github.com/stretchr/testify v1.3.0/go.mod" "github.com/stretchr/testify v1.4.0/go.mod" "github.com/stretchr/testify v1.5.1" "github.com/stretchr/testify v1.5.1/go.mod" "github.com/tidwall/pretty v1.0.0" "github.com/tidwall/pretty v1.0.0/go.mod" "go.mongodb.org/mongo-driver v1.0.3" "go.mongodb.org/mongo-driver v1.0.3/go.mod" "go.uber.org/atomic v1.6.0" "go.uber.org/atomic v1.6.0/go.mod" "go.uber.org/multierr v1.5.0" "go.uber.org/multierr v1.5.0/go.mod" "go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee" "go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod" "go.uber.org/zap v1.16.0" "go.uber.org/zap v1.16.0/go.mod" "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" "golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod" "golang.org/x/lint v0.0.0-20190930215403-16217165b5de" "golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod" "golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod" "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod" "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" "golang.org/x/net v0.0.0-20190620200207-3b0461eec859" "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod" "golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1" "golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod" "golang.org/x/text v0.3.0/go.mod" "golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod" "golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod" "golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod" "golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5" "golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod" "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f" "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod" "gopkg.in/errgo.v2 v2.1.0/go.mod" "gopkg.in/yaml.v2 v2.2.2" "gopkg.in/yaml.v2 v2.2.2/go.mod" "gopkg.in/yaml.v2 v2.2.8" "gopkg.in/yaml.v2 v2.2.8/go.mod" "honnef.co/go/tools v0.0.1-2019.2.3" "honnef.co/go/tools v0.0.1-2019.2.3/go.mod" "robpike.io/nihongo v0.0.0-20200511095354-a985f0929cfa" "robpike.io/nihongo v0.0.0-20200511095354-a985f0929cfa/go.mod" ) go-module_set_globals DESCRIPTION="Manage Switch backups (console only)." HOMEPAGE="https://github.com/giwty/switch-library-manager" SRC_URI="https://github.com/giwty/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" PATCHES=( "${FILESDIR}/${PN}-fix-version.patch" "${FILESDIR}/${PN}-fix-versions-url.patch" "${FILESDIR}/${PN}-no-gui-xdg.patch" ) src_compile() { go build . || die } src_install() { dobin "${PN}" einstalldocs }