Initial commit

This commit is contained in:
Radon Rosborough 2025-12-29 15:28:55 -08:00
commit c27fa5b13f
2 changed files with 64 additions and 0 deletions

25
.SRCINFO Normal file
View file

@ -0,0 +1,25 @@
pkgbase = signal-export
pkgdesc = Export your Signal chats to markdown files with attachments
pkgver = 3.8.1
pkgrel = 1
url = https://github.com/carderne/signal-export
arch = any
license = MIT
makedepends = python-build
makedepends = python-installer
makedepends = python-pdm-backend
depends = python>=3.9
depends = python-beautifulsoup4>=4.11
depends = python-beautifulsoup4<5.0
depends = python-emoji>=2.0
depends = python-emoji<3.0
depends = python-markdown>=3.4
depends = python-markdown<4.0
depends = python-typer>=0.12.1
depends = python-pycryptodome>=3.20
depends = python-pycryptodome<4.0
depends = python-sqlcipher3>=0.5.4
source = signal-export-3.8.1.tar.gz::https://github.com/carderne/signal-export/archive/v3.8.1.tar.gz
sha256sums = 1d9335da3e0d78f9fa6028dfa7ce98ab0475d85f99f86c0c6b4fe0ce68da8fc9
pkgname = signal-export

39
PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
# Maintainer: Radon Rosborough <radon@radian.codes>
pkgname=signal-export
pkgver=3.8.1
pkgrel=1
pkgdesc='Export your Signal chats to markdown files with attachments'
arch=('any')
url="https://github.com/carderne/$pkgname"
license=('MIT')
depends=(
'python>=3.9'
'python-beautifulsoup4>=4.11'
'python-beautifulsoup4<5.0'
'python-emoji>=2.0'
'python-emoji<3.0'
'python-markdown>=3.4'
'python-markdown<4.0'
'python-typer>=0.12.1'
'python-pycryptodome>=3.20'
'python-pycryptodome<4.0'
'python-sqlcipher3>=0.5.4'
)
makedepends=(python-build python-installer python-pdm-backend)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('1d9335da3e0d78f9fa6028dfa7ce98ab0475d85f99f86c0c6b4fe0ce68da8fc9')
# No check() because upstream essentially has no tests
build() {
cd $pkgname-$pkgver
PDM_BUILD_SCM_VERSION="$pkgver" python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}