mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/cosmic-notifications: new aport
This commit is contained in:
parent
6eb1620cfd
commit
d98d49fbb2
43
testing/cosmic-notifications/APKBUILD
Normal file
43
testing/cosmic-notifications/APKBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
# 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
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user