diff --git a/packagelist b/packagelist index a9b17d2d6f..eca45df574 100644 --- a/packagelist +++ b/packagelist @@ -70,6 +70,7 @@ carla-git cava cbindgen celeste-bin +chatgpt-deb cheat chezmoi-deb chwp-deb diff --git a/packages/chatgpt-deb/.SRCINFO b/packages/chatgpt-deb/.SRCINFO new file mode 100644 index 0000000000..74352203b7 --- /dev/null +++ b/packages/chatgpt-deb/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = chatgpt-deb + gives = chatgpt + pkgver = 26.803.81509 + pkgdesc = ChatGPT desktop application by OpenAI + url = https://developers.openai.com/codex/app + arch = amd64 + arch = arm64 + breaks = chatgpt + breaks = chatgpt-deb + replaces = chatgpt + replaces = chatgpt-deb + license = custom:Proprietary + maintainer = Christian F. Brinkmann + repology = project: chatgpt + source_amd64 = https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.803.81509_amd64.deb + sha256sums_amd64 = a9bf91a368f9f7c4eea38082a9fb8fb46b8d005b719a6d7715d2e5a1982c38eb + source_arm64 = https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.803.81509_arm64.deb + sha256sums_arm64 = f38fcc194eca9ab0327dc10c92340681eae77c5d75164df700384ce2adaccbc1 + +pkgname = chatgpt-deb diff --git a/packages/chatgpt-deb/chatgpt-deb.pacscript b/packages/chatgpt-deb/chatgpt-deb.pacscript new file mode 100644 index 0000000000..bb76073cc5 --- /dev/null +++ b/packages/chatgpt-deb/chatgpt-deb.pacscript @@ -0,0 +1,24 @@ +# Note: The official upstream .deb package contains postinst logic to add an OpenAI APT repository. +# This Pacstall package extracts the application payload directly, omitting upstream repository installation. +pkgname="chatgpt-deb" +gives="chatgpt" +pkgver="26.803.81509" +arch=('amd64' 'arm64') +pkgdesc="ChatGPT desktop application by OpenAI" +url='https://developers.openai.com/codex/app' +license=("custom:Proprietary") +source_amd64=("https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/${gives}/${gives}_${pkgver}_amd64.deb") +source_arm64=("https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/${gives}/${gives}_${pkgver}_arm64.deb") +sha256sums_amd64=("a9bf91a368f9f7c4eea38082a9fb8fb46b8d005b719a6d7715d2e5a1982c38eb") +sha256sums_arm64=("f38fcc194eca9ab0327dc10c92340681eae77c5d75164df700384ce2adaccbc1") +replaces=("${gives}" "${pkgname}") +breaks=("${replaces[@]}") +repology=("project: chatgpt") +maintainer=("Christian F. Brinkmann ") + +post_install() { + update-desktop-database > /dev/null 2>&1 || true + if command -v apparmor_parser > /dev/null 2>&1 && [[ -f /etc/apparmor.d/chatgpt ]]; then + apparmor_parser -r -W -T /etc/apparmor.d/chatgpt > /dev/null 2>&1 || true + fi +} diff --git a/srclist b/srclist index 5729e6dafb..aa8e652c37 100644 --- a/srclist +++ b/srclist @@ -1640,6 +1640,27 @@ pkgbase = celeste-bin pkgname = celeste-bin --- +pkgbase = chatgpt-deb + gives = chatgpt + pkgver = 26.803.81509 + pkgdesc = ChatGPT desktop application by OpenAI + url = https://developers.openai.com/codex/app + arch = amd64 + arch = arm64 + breaks = chatgpt + breaks = chatgpt-deb + replaces = chatgpt + replaces = chatgpt-deb + license = custom:Proprietary + maintainer = Christian F. Brinkmann + repology = project: chatgpt + source_amd64 = https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.803.81509_amd64.deb + sha256sums_amd64 = a9bf91a368f9f7c4eea38082a9fb8fb46b8d005b719a6d7715d2e5a1982c38eb + source_arm64 = https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.803.81509_arm64.deb + sha256sums_arm64 = f38fcc194eca9ab0327dc10c92340681eae77c5d75164df700384ce2adaccbc1 + +pkgname = chatgpt-deb +--- pkgbase = cheat gives = cheat pkgver = 5.1.0