mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
43 lines
1 KiB
Text
43 lines
1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-notifications
|
|
pkgver=1.0.0_alpha6
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="Notification daemon for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-notifications"
|
|
arch="aarch64 x86_64"
|
|
license="GPL-3.0-only"
|
|
depends="
|
|
cosmic-icons
|
|
"
|
|
makedepends="
|
|
cargo
|
|
just
|
|
libxkbcommon-dev
|
|
wayland-dev
|
|
"
|
|
options="net !check" # fetch dependencies, no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-notifications/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
|
builddir="$srcdir/$pkgname-epoch-$_upstreamver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
just build-release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --frozen
|
|
}
|
|
|
|
package() {
|
|
just rootdir="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
dc3039c2b653a1e50701a008ca5b9e2a1a69948522481aee3e136a68b7f5f712b6ec1ec31411bda9733721ff4f879288d95d09b3f028ad1d8727adb3d1e2955f cosmic-notifications-1.0.0_alpha6.tar.gz
|
|
"
|