Bump version

This commit is contained in:
SelfRef 2025-11-19 11:25:17 +01:00
parent ca11b60e18
commit a2ca3ffbae
No known key found for this signature in database
GPG key ID: 1DCDBA681B911503
2 changed files with 20 additions and 11 deletions

View file

@ -1,10 +1,10 @@
pkgbase = jan
pkgdesc = An open source alternative to ChatGPT that runs 100% offline on your computer
pkgver = 0.6.10
pkgver = 0.7.3
pkgrel = 1
url = https://jan.ai/
arch = x86_64
license = AGPL-3.0
license = Apache-2.0
makedepends = git
makedepends = nvm
makedepends = yarn
@ -13,10 +13,12 @@ pkgbase = jan
depends = gtk3
depends = webkit2gtk-4.1
optdepends = libappindicator-gtk3: for tray icon support
optdepends = uv: for MCP servers based on Python
optdepends = npm: for MCP servers based on Node.js
provides = jan
conflicts = jan
options = !lto
source = jan::git+https://github.com/menloresearch/jan.git#tag=v0.6.10
sha256sums = c4811e40b4b0a8558eafbb5656a37409697c7f93481ea7e7a0b0a06c6a928587
source = jan::git+https://github.com/menloresearch/jan.git#tag=v0.7.3
sha256sums = 401fceb4137185e29c0df15e7e344d6dc9e66f4ff77f213905d35d2d1ef0de66
pkgname = jan

View file

@ -1,15 +1,16 @@
# Maintainer: SelfRef <arch@selfref.dev>
# Contributor: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it>
_pkgbase=jan
pkgname=${_pkgbase}
pkgver=0.6.10
pkgver=0.7.3
pkgrel=1
pkgdesc="An open source alternative to ChatGPT that runs 100% offline on your computer"
url="https://jan.ai/"
arch=('x86_64')
license=('AGPL-3.0')
license=('Apache-2.0')
source=("$_pkgbase::git+https://github.com/menloresearch/jan.git#tag=v$pkgver")
sha256sums=('c4811e40b4b0a8558eafbb5656a37409697c7f93481ea7e7a0b0a06c6a928587')
sha256sums=('401fceb4137185e29c0df15e7e344d6dc9e66f4ff77f213905d35d2d1ef0de66')
provides=("$_pkgbase")
conflicts=("$_pkgbase")
options=(!lto)
@ -19,6 +20,8 @@ depends=(
)
optdepends=(
'libappindicator-gtk3: for tray icon support'
'uv: for MCP servers based on Python'
'npm: for MCP servers based on Node.js'
)
makedepends=(
'git'
@ -29,9 +32,9 @@ makedepends=(
)
_ensure_local_nvm() {
which nvm >/dev/null 2>&1 && nvm deactivate && nvm unload
export NVM_DIR="${srcdir}/.nvm"
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
which nvm >/dev/null 2>&1 && nvm deactivate && nvm unload
export NVM_DIR="${srcdir}/.nvm"
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
}
prepare() {
@ -56,7 +59,11 @@ package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
cd src-tauri/target/release/bundle/deb/Jan_*/data/usr
install -Dm755 bin/* -t "$pkgdir"/usr/bin
install -Dm755 bin/Jan -t "$pkgdir"/usr/bin
install -dm755 "$pkgdir"/usr/share
cp -r share/* "$pkgdir"/usr/share
install -dm755 "$pkgdir"/usr/lib
cp -r lib/* "$pkgdir"/usr/lib
}