mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
aur: split into tutabridge-git and tutabridge-bin packages
Add a prebuilt tutabridge-bin package (downloads the published x86_64 CLI binary, no Rust build) alongside the build-from-source tutabridge-git, each in its own directory with a PKGBUILD and .SRCINFO. Update the maintainer address and the packaging README for the two-package layout.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Maintainer: spartanz51 <a.m@tuta.com>
|
||||
#
|
||||
# Prebuilt headless TutaBridge CLI/daemon: downloads the published x86_64
|
||||
# binary from the GitHub release, no Rust build. The GUI is not packaged here.
|
||||
# For a build-from-source VCS package, see tutabridge-git.
|
||||
|
||||
pkgname=tutabridge-bin
|
||||
pkgver=0.1.0rc1
|
||||
pkgrel=1
|
||||
pkgdesc="Local IMAP/SMTP bridge for Tuta encrypted email (prebuilt headless CLI/daemon)"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/spartanz51/tutabridge"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('gcc-libs' 'dbus')
|
||||
optdepends=('gnome-keyring: persist the Tuta session across reboots (Secret Service)'
|
||||
'kwallet: alternative Secret Service provider')
|
||||
provides=('tutabridge')
|
||||
conflicts=('tutabridge')
|
||||
_tag=v0.1.0-rc.1
|
||||
source=("tutabridge-$pkgver::$url/releases/download/$_tag/tutabridge-linux-x86_64"
|
||||
"tutabridge.service::https://raw.githubusercontent.com/spartanz51/tutabridge/$_tag/packaging/systemd/tutabridge.service"
|
||||
"LICENSE::https://raw.githubusercontent.com/spartanz51/tutabridge/$_tag/LICENSE")
|
||||
sha256sums=('e4589807752da816ef3b84cf1d13e9793eca3621d0da9805ca96d3c3151d52cd'
|
||||
'9c398acf860036a8912a3f0686cfd6dc55cb714fc3ddbff68c21755777cd439f'
|
||||
'947215ddc328843b76022d5b77e1ca3b1152301778d33e24491e5064e92fc6cf')
|
||||
|
||||
package() {
|
||||
install -Dm755 "tutabridge-$pkgver" "$pkgdir/usr/bin/tutabridge"
|
||||
install -Dm644 "tutabridge.service" "$pkgdir/usr/lib/systemd/user/tutabridge.service"
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
Reference in New Issue
Block a user