mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
Co-authored-by: Anthony Stirling <[email protected]> Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Maintainer: Stirling PDF Inc <[email protected]>
|
|
pkgname=stirling-pdf-desktop
|
|
pkgver=2.12.0
|
|
pkgrel=1
|
|
pkgdesc="Locally hosted, web-based PDF manipulation tool (Tauri desktop app, official Stirling PDF Inc build)"
|
|
arch=('x86_64')
|
|
url="https://www.stirling.com"
|
|
license=('MIT' 'LicenseRef-Stirling-PDF-Proprietary')
|
|
depends=('gtk3' 'webkit2gtk-4.1' 'libappindicator-gtk3')
|
|
provides=('stirling-pdf')
|
|
conflicts=('stirling-pdf' 'stirling-pdf-git' 'stirling-pdf-bin')
|
|
options=('!strip')
|
|
|
|
source_x86_64=("${pkgname}-${pkgver}.deb::https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v${pkgver}/Stirling-PDF-linux-x86_64.deb")
|
|
sha256sums_x86_64=('PLACEHOLDER_DEB_SHA256')
|
|
|
|
package() {
|
|
# Extract the .deb archive
|
|
bsdtar -xf data.tar* -C "${pkgdir}"
|
|
|
|
# Fix permissions
|
|
find "${pkgdir}" -type d -exec chmod 755 {} \;
|
|
|
|
# Install license
|
|
install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<EOF
|
|
Copyright (c) 2025 Stirling PDF Inc
|
|
All rights reserved. See https://github.com/Stirling-Tools/Stirling-PDF/blob/main/LICENSE
|
|
EOF
|
|
}
|