Add Signed PDF signing package (#960)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5.5 authored and GitHub committed 2026-10-11 17:55:47 +09:00
1 parent 556ab26156
commit 24a7358c17
3 files changed
+61

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
"source": "local",
"auto_merge": true,
"upstream": {
"watch": {
"github": "omacom/signed",
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
}
}
}
+39
View File
@@ -0,0 +1,39 @@
# Maintainer: David Heinemeier Hansson <david@hey.com>
pkgname=signed
pkgver=0.1.0
pkgrel=1
pkgdesc='Sign PDFs and fill them in with text and dates'
arch=('x86_64' 'aarch64')
url='https://github.com/omacom/signed'
license=('MIT')
install='signed.install'
options=('!debug')
depends=(
'hicolor-icon-theme'
'noto-fonts'
'poppler-qt6'
'qpdf'
'qt6-base'
'qt6-declarative'
'qt6-wayland'
'xdg-desktop-portal'
)
makedepends=('gcc' 'make')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('f2d9b59c5a2c9ca4fd7b6d4814ae26a3b2036cdb6685d35c71452f2486fd08e2')
build() {
cd "$srcdir/$pkgname-$pkgver"
./bin/build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 build/signed "$pkgdir/usr/bin/signed"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 pkgbuild/signed.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/signed.svg"
install -Dm644 pkgbuild/signed.desktop "$pkgdir/usr/share/applications/signed.desktop"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
+12
View File
@@ -0,0 +1,12 @@
post_install() {
command -v update-desktop-database >/dev/null 2>&1 && update-desktop-database -q
command -v gtk-update-icon-cache >/dev/null 2>&1 && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}