diff --git a/com.jeffser.Alpaca.json b/com.jeffser.Alpaca.json index 337e76a..8848772 100644 --- a/com.jeffser.Alpaca.json +++ b/com.jeffser.Alpaca.json @@ -71,6 +71,31 @@ } ] }, + { + "name": "ollama", + "buildsystem": "simple", + "build-commands": [ + "install -Dm0755 ollama* ${FLATPAK_DEST}/bin/ollama" + ], + "sources": [ + { + "type": "file", + "url": "https://github.com/ollama/ollama/releases/download/v0.1.38/ollama-linux-amd64", + "sha256": "c3360812503a9756a507ebb9d78667e2b21800a760b45046bc48a8f3b81972f4", + "only-arches": [ + "x86_64" + ] + }, + { + "type": "file", + "url": "https://github.com/ollama/ollama/releases/download/v0.1.38/ollama-linux-arm64", + "sha256": "f2d091afe665b2d5ba8b68e2473d36cdfaf80c61c7d2844a0a8f533c4e62f547", + "only-arches": [ + "aarch64" + ] + } + ] + }, { "name" : "alpaca", "builddir" : true,