Update package() to be cleaner

This commit is contained in:
Porker Roland 2026-01-23 23:20:28 -06:00
parent bec7cb7447
commit 93d653419f
2 changed files with 19 additions and 3 deletions

View file

@ -6,7 +6,13 @@ pkgbase = openwork
arch = x86_64
license = MIT
depends = gtk3
depends = glib2
depends = libayatana-appindicator
depends = libsoup3
depends = webkit2gtk-4.1
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
sha256sums = 991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8

View file

@ -7,13 +7,23 @@ pkgdesc="An Open source alternative to Claude Cowork"
arch=('x86_64')
url="https://github.com/different-ai/openwork"
license=('MIT')
depends=('gtk3' 'webkit2gtk-4.1')
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")
sha256sums=('991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8')
package() {
cd "${srcdir}"
ar x "${pkgname}-${pkgver}.deb"
tar -xf data.tar.gz -C "${pkgdir}"
bsdtar -O -xf "openwork-desktop-linux-amd64.deb" 'data.tar*' | bsdtar -C "${pkgdir}" -xf -
}