Alex Janka
19a98fbf31
All checks were successful
Build .deb on release / Build-Deb (push) Successful in 1m39s
27 lines
747 B
Bash
27 lines
747 B
Bash
# Maintainer: Alex Janka <alex@alexjanka.com>
|
|
|
|
pkgname=tesla-auth-callback-watcher
|
|
pkgver=0.3.0
|
|
pkgrel=1
|
|
pkgdesc="server for tesla auth callbacks"
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://git.alexjanka.com/alex/auth-callback-watcher"
|
|
license=('custom')
|
|
depends=('gcc-libs')
|
|
makedepends=('cargo')
|
|
source=("auth-callback-watcher::git+https://git.alexjanka.com/alex/auth-callback-watcher")
|
|
sha512sums=('SKIP')
|
|
|
|
build() {
|
|
cd "auth-callback-watcher"
|
|
|
|
cargo build --release --locked
|
|
}
|
|
|
|
package() {
|
|
cd "auth-callback-watcher"
|
|
|
|
install -Dm755 "target/release/tesla-auth-callback-watcher" "$pkgdir/usr/bin/tesla-auth-callback-watcher"
|
|
install -D -m 0644 packaging/service/service "${pkgdir}/usr/lib/systemd/system/tesla-auth-callback-watcher.service"
|
|
}
|