app-office/obsidian: new package, add 1.1.16

Signed-off-by: Rahul Sandhu <rahul@sandhuservices.dev>
This commit is contained in:
Rahul Sandhu
2023-04-16 10:12:10 +01:00
parent 9e4e821e42
commit 0a9316ef0e
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST obsidian_1.1.16_amd64.deb 69117356 BLAKE2B 3ae0d9bd36e2048ff55e0a8757668e7e8b4de43dd3c658d263345181030f89bcbb3ddb005c317c432771f8d4f38185693ea30206e579612b99fde3c761b31352 SHA512 09f203890b1a445051dd4f7a18584a78b30e6083101ec660b63dff01ab4b6c2ab57fb2665e36cd4ddf5534f31afbb32bb9fd718dc76df5778b11038a09c0170f

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rahul@sandhuservices.dev</email>
<name>Rahul Sandhu</name>
</maintainer>
<longdescription lang="en">A second brain, for you, forever.</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="A second brain, for you, forever."
HOMEPAGE="https://obsidian.md"
SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
src_install() {
insinto /opt/Obsidian
doins -r opt/Obsidian/*
domenu usr/share/applications/obsidian.desktop
for size in 16 32 48 64 128 256 512; do
doicon --size "${size}" "usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png"
done
fperms 4755 /opt/Obsidian/chrome-sandbox || die
fperms +x /opt/Obsidian/obsidian || die
dosym ../../opt/Obsidian/obsidian /usr/bin/obsidian
}