"Changes PKGBUILD to be cleaner, and safer"

This commit is contained in:
Porker Roland 2026-01-24 00:10:48 -06:00
parent 93d653419f
commit 09bfbe21ac
2 changed files with 11 additions and 21 deletions

View file

@ -1,7 +1,7 @@
pkgbase = openwork
pkgdesc = An Open source alternative to Claude Cowork
pkgver = 0.3.6
pkgrel = 1
pkgrel = 2
url = https://github.com/different-ai/openwork
arch = x86_64
license = MIT
@ -13,8 +13,8 @@ pkgbase = openwork
depends = openssl
depends = dbus
depends = librsvg
options = !debug
source = openwork-0.3.6.deb::https://github.com/different-ai/openwork/releases/download/v0.3.6/openWork-desktop-linux-amd64.deb
noextract = openwork-0.3.6.deb
source = openwork-0.3.6.deb::https://github.com/different-ai/openwork/releases/download/v0.3.6/openwork-desktop-linux-amd64.deb
sha256sums = 991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8
pkgname = openwork

View file

@ -1,29 +1,19 @@
# Maintainer: Different AI <team@different.ai>
# AUR Maintainer: Parker Rowen <gitporker@gmail.com>
# Maintainer: Parker Rowen <gitporker@gmail.com>
pkgname=openwork
pkgver=0.3.6
pkgrel=1
pkgrel=2
pkgdesc="An Open source alternative to Claude Cowork"
arch=('x86_64')
url="https://github.com/different-ai/openwork"
license=('MIT')
depends=(
'gtk3'
'glib2'
'libayatana-appindicator'
'libsoup3'
'webkit2gtk-4.1'
'openssl'
'dbus'
'librsvg'
)
options=(!debug)
source=("${pkgname}-${pkgver}.deb::https://github.com/different-ai/openwork/releases/download/v${pkgver}/openWork-desktop-linux-amd64.deb")
depends=('gtk3' 'glib2' 'libayatana-appindicator' 'libsoup3' 'webkit2gtk-4.1' 'openssl' 'dbus' 'librsvg')
source=("${pkgname}-${pkgver}.deb::${url}/releases/download/v${pkgver}/openwork-desktop-linux-amd64.deb")
sha256sums=('991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8')
noextract=("${pkgname}-${pkgver}.deb")
package() {
# Avoids permission issues
cd "${srcdir}"
bsdtar -O -xf "openwork-desktop-linux-amd64.deb" 'data.tar*' | bsdtar -C "${pkgdir}" -xf -
bsdtar -O -xf "${pkgname}-${pkgver}.deb" 'data.tar*' | bsdtar -C "${pkgdir}" -xf -
}