Skip to content

Commit

Permalink
add: notesnook-app (#6930)
Browse files Browse the repository at this point in the history
Resolves #6929

## Progress 

- [x] Edit packagelist
- [x] Add initial pacscript
- [ ] Contact devs
- [x] Add maintainer to pacscript
  • Loading branch information
villamorrd authored Jan 31, 2025
1 parent 06d1808 commit 2c96ebe
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ noisetorch-bin
nomachine-deb
nordlayer-deb
nordvpn-deb
notesnook-app
notion-app-deb
notion-app-enhanced-deb
notion-git
Expand Down
18 changes: 18 additions & 0 deletions packages/notesnook-app/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pkgbase = notesnook-app
gives = notesnook
pkgver = 3.0.24
pkgdesc = End-to-end encrypted note taking alternative to Evernote
url = https://notesnook.com
arch = amd64
arch = arm64
license = GPL-3.0-only
maintainer = villamorrd <[email protected]>
repology = project: notesnook
source = https://raw.githubusercontent.com/streetwriters/notesnook/refs/tags/v3.0.24/resources/icon.png
sha256sums = SKIP
source_amd64 = notesnook-3.0.24.AppImage::https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_x86_64.AppImage
sha256sums_amd64 = 87c9c5f3adc4b095fbba8881f8c2b11c4340e49264d773905f00054c50003cb4
source_arm64 = notesnook-3.0.24.AppImage::https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_arm64.AppImage
sha256sums_arm64 = 23e687dd9c92cd2e6f1a5b1bb2bf42bbf2541019bda58447e95d180fe12271b3

pkgname = notesnook-app
35 changes: 35 additions & 0 deletions packages/notesnook-app/notesnook-app.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
pkgname="notesnook-app"
repology=("project: notesnook")
arch=('amd64' 'arm64')
pkgver="3.0.24"
url='https://notesnook.com'
gives="notesnook"
source=("https://raw.githubusercontent.com/streetwriters/notesnook/refs/tags/v${pkgver}/resources/icon.png")
source_amd64=("${gives}-${pkgver}.AppImage::https://github.com/streetwriters/notesnook/releases/download/v${pkgver}/notesnook_linux_x86_64.AppImage")
source_arm64=("${gives}-${pkgver}.AppImage::https://github.com/streetwriters/notesnook/releases/download/v${pkgver}/notesnook_linux_arm64.AppImage")
sha256sums=('SKIP')
sha256sums_amd64=("87c9c5f3adc4b095fbba8881f8c2b11c4340e49264d773905f00054c50003cb4")
sha256sums_arm64=("23e687dd9c92cd2e6f1a5b1bb2bf42bbf2541019bda58447e95d180fe12271b3")
pkgdesc="End-to-end encrypted note taking alternative to Evernote"
maintainer=("villamorrd <[email protected]>")
license=('GPL-3.0-only')

prepare() {
mkdir -p "${pkgdir}/usr/share/applications"
}

package() {
install -Dm755 "${gives}-${pkgver}.AppImage" "${pkgdir}/usr/bin/${gives}"
install -Dm644 "icon.png" "${pkgdir}/usr/share/pixmaps/${gives}.png"

cat << EOF > "${pkgdir}/usr/share/applications/${gives}.desktop"
[Desktop Entry]
Type=Application
Name=Notesnook
Icon=notesnook
Exec=env APPIMAGELAUNCHER_DISABLE=1 /usr/bin/notesnook
Comment=An end-to-end encrypted note taking alternative to Evernote
Categories=Utility;
Terminal=false
EOF
}
19 changes: 19 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -8438,6 +8438,25 @@ pkgbase = nordvpn-deb

pkgname = nordvpn-deb
---
pkgbase = notesnook-app
gives = notesnook
pkgver = 3.0.24
pkgdesc = End-to-end encrypted note taking alternative to Evernote
url = https://notesnook.com
arch = amd64
arch = arm64
license = GPL-3.0-only
maintainer = villamorrd <[email protected]>
repology = project: notesnook
source = https://raw.githubusercontent.com/streetwriters/notesnook/refs/tags/v3.0.24/resources/icon.png
sha256sums = SKIP
source_amd64 = notesnook-3.0.24.AppImage::https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_x86_64.AppImage
sha256sums_amd64 = 87c9c5f3adc4b095fbba8881f8c2b11c4340e49264d773905f00054c50003cb4
source_arm64 = notesnook-3.0.24.AppImage::https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_arm64.AppImage
sha256sums_arm64 = 23e687dd9c92cd2e6f1a5b1bb2bf42bbf2541019bda58447e95d180fe12271b3

pkgname = notesnook-app
---
pkgbase = notion-app-deb
gives = notion-app
pkgver = 2.0.18-1
Expand Down

0 comments on commit 2c96ebe

Please sign in to comment.