mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Initial upload: helixnotes-appimage-bin 1.0.7
This commit is contained in:
commit
2782b7d98e
3 changed files with 70 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pkgbase = helixnotes-appimage-bin
|
||||
pkgdesc = Local-first markdown note-taking app built with Rust, Tauri, and SvelteKit
|
||||
pkgver = 1.0.7
|
||||
pkgrel = 1
|
||||
url = https://helixnotes.com
|
||||
arch = x86_64
|
||||
license = AGPL-3.0-only
|
||||
depends = fuse2
|
||||
depends = gtk3
|
||||
depends = webkit2gtk-4.1
|
||||
noextract = HelixNotes_1.0.7_amd64.AppImage
|
||||
options = !strip
|
||||
source = HelixNotes_1.0.7_amd64.AppImage::https://codeberg.org/ArkHost/HelixNotes/releases/download/v1.0.7/HelixNotes_1.0.7_amd64.AppImage
|
||||
source = helixnotes.desktop
|
||||
sha256sums = 216f3907463dd64ea79cd6a99567ed2c74046d67c1554139fffa0c62db97cf75
|
||||
sha256sums = 20dd14203d5bedca52933bd60065d013418bcba00cea6dfcec78b292b82900ba
|
||||
|
||||
pkgname = helixnotes-appimage-bin
|
||||
41
PKGBUILD
Normal file
41
PKGBUILD
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Yuri Karamian <yuri@arkhost.com>
|
||||
pkgname=helixnotes-appimage-bin
|
||||
_pkgname=HelixNotes
|
||||
pkgver=1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="Local-first markdown note-taking app built with Rust, Tauri, and SvelteKit"
|
||||
arch=('x86_64')
|
||||
url="https://helixnotes.com"
|
||||
license=('AGPL-3.0-only')
|
||||
depends=('fuse2' 'gtk3' 'webkit2gtk-4.1')
|
||||
options=('!strip')
|
||||
source=("${_pkgname}_${pkgver}_amd64.AppImage::https://codeberg.org/ArkHost/HelixNotes/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.AppImage"
|
||||
"helixnotes.desktop")
|
||||
sha256sums=('216f3907463dd64ea79cd6a99567ed2c74046d67c1554139fffa0c62db97cf75'
|
||||
'20dd14203d5bedca52933bd60065d013418bcba00cea6dfcec78b292b82900ba')
|
||||
noextract=("${_pkgname}_${pkgver}_amd64.AppImage")
|
||||
|
||||
prepare() {
|
||||
chmod +x "${_pkgname}_${pkgver}_amd64.AppImage"
|
||||
./"${_pkgname}_${pkgver}_amd64.AppImage" --appimage-extract
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_pkgname}_${pkgver}_amd64.AppImage" \
|
||||
"${pkgdir}/opt/${pkgname}/${_pkgname}.AppImage"
|
||||
|
||||
# Extract icon from squashfs-root if available
|
||||
if [ -f "${srcdir}/squashfs-root/usr/share/icons/hicolor/256x256/apps/"*.png ]; then
|
||||
install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/256x256/apps/"*.png \
|
||||
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/helixnotes.png"
|
||||
elif [ -f "${srcdir}/squashfs-root/"*.png ]; then
|
||||
install -Dm644 "${srcdir}/squashfs-root/"*.png \
|
||||
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/helixnotes.png"
|
||||
fi
|
||||
|
||||
install -Dm644 "${srcdir}/helixnotes.desktop" \
|
||||
"${pkgdir}/usr/share/applications/helixnotes.desktop"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
ln -s "/opt/${pkgname}/${_pkgname}.AppImage" "${pkgdir}/usr/bin/helixnotes"
|
||||
}
|
||||
11
helixnotes.desktop
Normal file
11
helixnotes.desktop
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=HelixNotes
|
||||
Comment=Local-first markdown note-taking app
|
||||
Exec=helixnotes %U
|
||||
Icon=helixnotes
|
||||
Terminal=false
|
||||
Categories=Office;TextEditor;
|
||||
Keywords=notes;markdown;editor;
|
||||
MimeType=text/markdown;text/plain;
|
||||
StartupWMClass=HelixNotes
|
||||
Loading…
Add table
Reference in a new issue