aports/testing/comet/APKBUILD
2026-01-05 01:42:12 +00:00

44 lines
1.4 KiB
Plaintext

# Contributor: Joshua Murphy <joshuamurphy@posteo.net>
maintainer="Joshua Murphy <joshuamurphy@posteo.net>"
pkgname=comet
pkgver=0.3.2
pkgrel=0
_proto=923e8a0008603365d29002db611559190da5bf99
pkgdesc="Open Source implementation of GOG Galaxy's Communication Service"
url="https://github.com/imLinguin/comet"
arch="all"
license="Apache-2.0"
makedepends="
cargo
cargo-auditable
protoc
"
source="$pkgname-$pkgver.tar.gz::https://github.com/imLinguin/comet/archive/v$pkgver.tar.gz
proto-$_proto.tar.gz::https://github.com/Yepoleb/gog_protocols/archive/$_proto.tar.gz
protoc.patch
"
options="!check net" # no tests, net for cargo
prepare() {
default_prepare
rmdir proto
ln -sfv "$srcdir"/gog_protocols-$_proto proto
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
package() {
install -Dm755 target/release/comet "$pkgdir"/usr/bin/comet
}
sha512sums="
1c1696a31e479f38e646fe31d8b1f846a22b8ea78743b0cd526d31dc2bdd1181c7db71dcd22042e394c22baa35e04dda0d9d7c15e967674d7ea34bc1d789b959 comet-0.3.2.tar.gz
12ec7a44aab54871483dc061cfe9166370325132a16d7f90edd297da64f6844b3dac0eade8ddaf2a786d7754912be8fa5166222235880505cbba6e9e0594fd28 proto-923e8a0008603365d29002db611559190da5bf99.tar.gz
2ca59aeebc608fd5a36b469243fa6b718e6cb9d26a67022d6dd6fea0fdd90dc59bc03ad66ab10f1d9a2129dc19c89a0f4f97bd00696808c506275fd047945807 protoc.patch
"