feat: init repo

This commit is contained in:
y-not-u 2024-10-10 09:06:25 +08:00
commit 207cd637e2
5 changed files with 78 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = cherry-studio-bin
pkgdesc = 🍒 Cherry Studio is a desktop client that supports for multiple LLM providers
pkgver = 0.7.12
pkgrel = 1
url = https://github.com/kangfenmao/cherry-studio
arch = x86_64
license = custom
conflicts = cherry-studio
options = !strip
options = !debug
source = cherry-studio-0.7.12.AppImage::https://github.com/kangfenmao/cherry-studio/releases/download/v0.7.12/Cherry-Studio-0.7.12-x86_64.AppImage
source = cherry-studio.desktop
source = cherry-studio.png
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
pkgname = cherry-studio-bin

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
*.AppImage

38
PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# Maintainer: vogan <voganwong@hotmail.com>
pkgname=cherry-studio-bin
_pkgname=cherry-studio
pkgver=0.7.12
pkgrel=1
pkgdesc="🍒 Cherry Studio is a desktop client that supports for multiple LLM providers "
arch=('x86_64')
url="https://github.com/kangfenmao/cherry-studio"
license=('custom')
options=('!strip' '!debug')
depends=()
source=("${_pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/Cherry-Studio-${pkgver}-${arch}.AppImage"
"${_pkgname}.desktop"
"${_pkgname}.png")
sha256sums=('SKIP'
'SKIP'
'SKIP')
conflicts=("$_pkgname")
package() {
cd "$srcdir"
# Create directories
install -dm755 "$pkgdir/usr/bin/$pkgname"
install -dm755 "$pkgdir/usr/share/applications"
install -dm755 "$pkgdir/usr/share/icons/hicolor/256x256/apps"
# Install AppImage
install -Dm755 "${_pkgname}-${pkgver}.AppImage" "${pkgdir}/opt/${pkgname}/${_pkgname}.AppImage"
# Install icon
install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png"
# Install desktop file
install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
ln -s "/opt/${pkgname}/${_pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
}

7
cherry-studio.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Cherry Studio
Comment=🍒 Cherry Studio is a desktop client that supports for multiple LLM providers
Exec=/usr/bin/cherry-studio
Icon=/usr/share/icons/hicolor/256x256/apps/cherry-studio.png
Categories=Utility;

BIN
cherry-studio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB