add anytype pkg

This commit is contained in:
lostecho
2023-07-19 14:06:18 +08:00
parent 32fa3fa9c0
commit 9e48207c7f
8 changed files with 175 additions and 0 deletions

22
pkgs/anytype-bin/.SRCINFO Normal file
View File

@@ -0,0 +1,22 @@
pkgbase = anytype-bin
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.
pkgver = 0.33.0
pkgrel = 1
url = https://anytype.io/
arch = x86_64
license = custom
depends = fuse
optdepends = org.freedesktop.secrets: for not having to sign in each time
provides = anytype
conflicts = anytype
conflicts = anytype-legacy
noextract = Anytype-0.33.0.AppImage
options = !strip
source = Anytype-0.33.0.AppImage::https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-0.33.0.AppImage
source = anytype.desktop
source = anytype.png
sha256sums = 964a1cb8f95460615658431acfb43f4963052066b6c3e8cd434bb9133712cfb3
sha256sums = 1bda1398291bed84ebee1d2c3e94b4c367925a8e2c0bd371aba8d6604e54281f
sha256sums = 48ee23a45c29cf081ccf5188c045150b7410007cd21743ce8592974ab18120c0
pkgname = anytype-bin

19
pkgs/anytype-bin/.gitignore vendored Normal file
View File

@@ -0,0 +1,19 @@
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
*.AppImage
anytype-appimage-*.pkg.tar.zst
anytype-appimage-*.log
*.code-workspace

21
pkgs/anytype-bin/LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Lucas Maximiliano Marino
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

45
pkgs/anytype-bin/PKGBUILD Normal file
View File

@@ -0,0 +1,45 @@
# Maintainer: elementh <hello@lucasmarino.me>
#
# WARNING WARNING WARNING WARNING WARNING
# IMPORTANT: MIGRATION
#
# If you are coming from the > 0.3.2 BETA please read the instructions:
#
# 1. Install `anytype-legacy`
# 2. Follow the instructions HERE: https://community.anytype.io/t/anytype-legacy-to-beta-migration-trail-guide/9274
# UP to the point 2., BUT NOT 3.
# 3. Now install `anytype-bin` (this package) and now you can follow point 3. and login with the recovery phrase.
#
# Thanks.
#
pkgname=anytype-bin
pkgver=0.33.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=('bea0a7b6528ca8e92edf64349627ffb44fe07cb899c1360b1e6313d6f7c4e945'
'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"
}

View File

@@ -0,0 +1,39 @@
# Anytype
PKGBUILD for Anytype's binary AUR package.
## What is Anytype?
> Anytype is a next generation software that breaks
> down barriers between applications, gives back
> privacy and data ownership to users.
More information can be found [here](https://anytype.io).
## AUR
The AUR package can be found [here](https://aur.archlinux.org/packages/anytype-bin/).x
## License
MIT License
Copyright (c) 2021 Lucas Maximiliano Marino
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Anytype
Comment=Operating environment for the new internet
Exec=anytype
Terminal=false
Type=Application
Icon=anytype
StartupWMClass=Anytype
X-AppImage-Version=1.1.3
Categories=Internet;

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB