mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/cosmic-app-library: new aport
This commit is contained in:
parent
bd3cd64b89
commit
82721bc508
42
testing/cosmic-app-library/APKBUILD
Normal file
42
testing/cosmic-app-library/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
||||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=cosmic-app-library
|
||||
pkgver=1.0.0_alpha6
|
||||
_upstreamver="${pkgver/_alpha/-alpha.}"
|
||||
pkgrel=0
|
||||
pkgdesc="Application launcher for the COSMIC Desktop Environment"
|
||||
url="https://github.com/pop-os/cosmic-applibrary"
|
||||
arch="aarch64 x86_64"
|
||||
license="GPL-3.0-only"
|
||||
depends="
|
||||
cosmic-icons
|
||||
"
|
||||
makedepends="
|
||||
cargo
|
||||
just
|
||||
libxkbcommon-dev
|
||||
"
|
||||
options="net !check" # fetch dependencies, no tests
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-applibrary/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
||||
builddir="$srcdir/cosmic-applibrary-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="
|
||||
18ae7545716e2043e6de067b6b1157fb784ed78af27373de373792e3fc7e30f9e9a0fc8db240e687e8dd641fdb74bead83f3e9cb6d13a339b429ffd31ee47769 cosmic-app-library-1.0.0_alpha6.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user