| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.24.0 | 8 | -* ~amd64 ~arm64 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# File was automatically generated by automatic-ebuild-maker
# https://github.com/BlueManCZ/automatic-ebuild-maker
EAPI=8
inherit unpacker xdg
DESCRIPTION="The simplest way to keep notes"
HOMEPAGE="https://simplenote.com"
SRC_URI="amd64? ( https://github.com/Automattic/simplenote-electron/releases/download/v${PV}/Simplenote-linux-${PV}-amd64.deb -> simplenote-${PV}-amd64.deb )
arm64? ( https://github.com/Automattic/simplenote-electron/releases/download/v${PV}/Simplenote-linux-${PV}-arm64.deb -> simplenote-${PV}-arm64.deb )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="bindist mirror"
IUSE="doc"
RDEPEND="dev-libs/nss
net-print/cups
x11-libs/libXScrnSaver"
PATCHES=(
"${FILESDIR}/${PN}.desktop.patch"
)
QA_PREBUILT="*"
S=${WORKDIR}
src_prepare() {
default
if use doc ; then
unpack "usr/share/doc/simplenote/changelog.gz" || die "unpack failed"
rm -f "usr/share/doc/simplenote/changelog.gz" || die "rm failed"
mv "changelog" "usr/share/doc/simplenote" || die "mv failed"
fi
}
src_install() {
cp -a . "${ED}" || die "cp failed"
rm -r "${ED}/usr/share/doc/simplenote" || die "rm failed"
if use doc ; then
dodoc -r "usr/share/doc/simplenote/"* || die "dodoc failed"
fi
dosym "/opt/Simplenote/simplenote" "/usr/bin/simplenote" || die "dosym failed"
}
dev-libs/nss net-print/cups x11-libs/libXScrnSaver
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | simplenote-2.24.0-amd64.deb | 144380032 bytes | https://github.com/Automattic/simplenote-electron/releases/download/v2.24.0/Simplenote-linux-2.24.0-amd64.deb |
| DIST | simplenote-2.24.0-arm64.deb | 149368476 bytes | https://github.com/Automattic/simplenote-electron/releases/download/v2.24.0/Simplenote-linux-2.24.0-arm64.deb |