I made a package which uses system electron, reduce 200M size.
https://aur.archlinux.org/packages/anytype-electron-bin , for reference.
Git Clone URL: | https://aur.archlinux.org/anytype-bin.git (read-only, click to copy) |
---|---|
Package Base: | anytype-bin |
Description: | Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users. |
Upstream URL: | https://anytype.io/ |
Keywords: | organization privacy zettelkasten |
Licenses: | custom |
Conflicts: | anytype, anytype-legacy |
Provides: | anytype |
Submitter: | elementh |
Maintainer: | elementh |
Last Packager: | elementh |
Votes: | 12 |
Popularity: | 0.26 |
First Submitted: | 2021-07-24 07:53 (UTC) |
Last Updated: | 2023-11-21 17:13 (UTC) |
I made a package which uses system electron, reduce 200M size.
https://aur.archlinux.org/packages/anytype-electron-bin , for reference.
if i try to update to from 0.32.3-1 i get the following error:
could not satisfy dependencies: - unable to satisfy dependency 'jre=19.0.2-1' required by jdk
However jre 19.0.2-1 ist installed. So it shouldn't be a problem. Any help? Thx in advance!
I had to SKIP
integrity checks because the checksum test keep failing, even from @EojjN comment.
Here, I swapped 0.35.0 to 0.35.2 (latest version)
pkgname=anytype-bin
pkgver=0.35.2
pkgrel=1
pkgdesc="Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users."
arch=('x86_64')
url="https://anytype.io/"
license=('custom')
depends=('fuse')
options=(!strip)
optdepends=('org.freedesktop.secrets: for not having to sign in each time')
provides=('anytype')
conflicts=('anytype'
'anytype-legacy')
_appimage="Anytype-${pkgver}.AppImage"
source=(
"Anytype-${pkgver}.AppImage::https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-${pkgver}.AppImage"
"anytype.desktop"
"anytype.png"
)
noextract=("${_appimage}")
sha256sums=('d23b46078bee1b52f223a9ab5cf25f45f513f31902b4bfe30e35536882243c84'
'1bda1398291bed84ebee1d2c3e94b4c367925a8e2c0bd371aba8d6604e54281f'
'48ee23a45c29cf081ccf5188c045150b7410007cd21743ce8592974ab18120c0')
package() {
install -Dm755 $_appimage "$pkgdir"/usr/bin/anytype
chmod +x "${pkgdir}/usr/bin/anytype"
install -Dm644 "anytype.desktop" "${pkgdir}/usr/share/applications/anytype.desktop"
install -Dm644 "anytype.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/anytype.png"
}
Hello
Could you change the exec inside the .desktop
file from Exec=anytype
to Exec=env DESKTOPINTEGRATION=0 APPIMAGELAUNCHER_DISABLE=1 anytype
to disable the recuring promt to integrate the appimage with the system?
I've taken the command from here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=joplin-appimage.
Thank you.
Updates are delayed by dates. The in-built updater doesn't work and after restart it remains on the same version.
This package is out-of-date. Version 0.34.3 was released on August 15, 2023. I am happy to help maintain this, if you need some help.
Package the latest anytype_0.33.0_amd64.deb related PKGBUILD settings.
pkgname=anytype
pkgver=0.33.0
pkgrel=1
pkgdesc="Warnnig! Please use [anytype-bin]. || Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to
users."
arch=('x86_64')
url="https://anytype.io/"
license=('custom')
depends=('fuse' 'gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret' 'libappindicator-gtk3')
options=(!strip)
provides=('anytype')
conflicts=('anytype')
source=(
"https://anytype-release.fra1.cdn.digitaloceanspaces.com/anytype_${pkgver}_amd64.deb"
"anytype.png"
)
sha256sums=('4acaba46b0b1bcd1e5eba2b2ee0176e57cab1f21590a4c485f6095816d0dbe4e'
'48ee23a45c29cf081ccf5188c045150b7410007cd21743ce8592974ab18120c0')
package() {
echo -e "srcdir = ${srcdir} 和 pkgdir = ${pkgdir}"
ar x anytype_${pkgver}_amd64.deb data.tar.xz
cd ${srcdir} && pwd
tar -xvf data.tar.xz -C "${pkgdir}"
install -Dm644 "anytype.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/anytype.png"
}
IMPORTANT: MIGRATION
If you are coming from the > 0.3.2 BETA please read the instructions:
anytype-legacy
anytype-bin
(this package) and now you can follow point 3. and login with the recovery phrase.Thanks.
Pinned Comments
elementh commented on 2023-06-15 16:10 (UTC)
IMPORTANT: MIGRATION
If you are coming from the > 0.3.2 BETA please read the instructions:
anytype-legacy
anytype-bin
(this package) and now you can follow point 3. and login with the recovery phrase.Thanks.