New version authelia bitwarden-desktop element-web joplin-desktop vaultwarden vaultwarden-web
This commit is contained in:
parent
9359602185
commit
5ecefd0f87
22 changed files with 120 additions and 148 deletions
38
ressources/joplin-desktop/debmaker
Executable file
38
ressources/joplin-desktop/debmaker
Executable file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.9.2
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
APP=joplin-desktop
|
||||
GIT_VERSION=v${VERSION}
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEPOT=https://github.com/laurent22/joplin.git
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=14
|
||||
|
||||
STEP="minimum_package envinit default_prebuild build makedeb"
|
||||
|
||||
envinit() {
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
apt install -y --no-install-recommends build-essential python nodejs rsync yarn
|
||||
}
|
||||
|
||||
build() {
|
||||
rm -fr /tmp/${APP}/packages/app-mobile
|
||||
cd /tmp/${APP}/
|
||||
BUILD_SEQUENCIAL=1 yarn install
|
||||
cd packages/app-desktop
|
||||
npm run dist
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs/
|
||||
|
||||
cp /tmp/joplin-desktop/packages/app-desktop/dist/Joplin-*.AppImage ${PATH_DEB}/usr/share/joplin/Joplin.AppImage
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
0
ressources/joplin-desktop/rootfs/DEBIAN/changelog
Normal file
0
ressources/joplin-desktop/rootfs/DEBIAN/changelog
Normal file
8
ressources/joplin-desktop/rootfs/DEBIAN/control
Normal file
8
ressources/joplin-desktop/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,8 @@
|
|||
Package: joplin
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: nodejs
|
||||
Maintainer: Thomas Legay <thomas@syngate.fr>
|
||||
Description: joplin desktop
|
2
ressources/joplin-desktop/rootfs/usr/bin/joplin
Executable file
2
ressources/joplin-desktop/rootfs/usr/bin/joplin
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
/usr/share/joplin/Joplin.AppImage
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=Joplin
|
||||
Comment=Text Editor
|
||||
GenericName=Text Editor
|
||||
Exec=joplin
|
||||
Icon=/usr/share/joplin/joplin.png
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Type=Application
|
||||
Categories=Utility;TextEditor
|
||||
|
BIN
ressources/joplin-desktop/rootfs/usr/share/joplin/joplin.png
Normal file
BIN
ressources/joplin-desktop/rootfs/usr/share/joplin/joplin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Add table
Add a link
Reference in a new issue