SHA256
Initial release
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
# Maintainer: Kira <kira@kartoshka.org>
|
||||
|
||||
pkgname=hive-up
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc='Hive-Up updates and manage daemon for Kira Linux'
|
||||
url='https://dev.kira-linux.org/kira-linux/hive-up'
|
||||
arch=(x86_64)
|
||||
|
||||
_hive_up_src=v${pkgver}.tar.gz
|
||||
|
||||
license=(
|
||||
GPL-3.0-or-later
|
||||
)
|
||||
|
||||
depends=(
|
||||
bcachefs-tools
|
||||
coreutils
|
||||
)
|
||||
|
||||
makedepends=(
|
||||
bcachefs-tools
|
||||
coreutils
|
||||
rust
|
||||
tar
|
||||
xz
|
||||
gzip
|
||||
zstd
|
||||
)
|
||||
|
||||
options=(
|
||||
!debug
|
||||
)
|
||||
|
||||
|
||||
source=(
|
||||
https://dev.kira-linux.org/kira-linux/hive-up/archive/${_hive_up_src}
|
||||
)
|
||||
|
||||
|
||||
sha256sums=('14f1f26738ab22d2c33f480bd6eff03edbea0b7e4c98aa8aa7d03609066f9d04')
|
||||
b2sums=('66110bad0e3a239601696fbf1dc0e5a2589e6b0462cedcc0b378a0889f22ac65fac34892594735bc1a0bd3901cbcf37040c6c2336118d325a992ba8ab8caf613')
|
||||
|
||||
|
||||
build() {
|
||||
echo "Building hive-up..."
|
||||
cd hive-up
|
||||
cargo build --release
|
||||
echo "##### DONE Building hive-up #####"
|
||||
echo ""
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
echo "Packaging"
|
||||
install -vDm 755 "$srcdir/hive-up/target/release/hive-up" "$pkgdir/usr/bin/hive-up"
|
||||
install -vDm 644 "$srcdir/hive-up/service_defenitions/dinit.service" "$pkgdir/etc/dinit.d/hive-up"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user