mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/git-graph: new aport
This commit is contained in:
parent
4bc688c451
commit
33fa71b995
39
testing/git-graph/APKBUILD
Normal file
39
testing/git-graph/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Maintainer: omni <omni+alpine@hack.org>
|
||||
maintainer="omni <omni+alpine@hack.org>"
|
||||
pkgname=git-graph
|
||||
pkgver=0.6.0
|
||||
pkgrel=0
|
||||
pkgdesc="Command line tool to show clear git graphs arranged for your branching model"
|
||||
arch="all"
|
||||
url="https://github.com/mlange-42/git-graph/"
|
||||
license="MIT"
|
||||
makedepends="cargo cargo-auditable"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mlange-42/git-graph/archive/refs/tags/$pkgver.tar.gz
|
||||
Cargo.lock.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --release --frozen
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm0755 -t "$pkgdir"/usr/bin/ target/release/"$pkgname"
|
||||
|
||||
install -Dm0644 -t "$pkgdir"/usr/share/doc/"$pkgname"/ docs/manual.md
|
||||
install -Dm0644 -t "$pkgdir"/usr/share/licenses/"$pkgname"/ LICENSE
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7f48e48e93bac6cf31cdecb3ef136f8d0bcba24d4d85d73ad6c2c9734df60b298edbc645e8c66170f210a8dd1509bc2d6c0389009d106fbdb4ef996deca7629a git-graph-0.6.0.tar.gz
|
||||
9f21e2adbe096f6e02d4975f2060942ce1c987e38e7be4c3e7b36b68e4095f963ee9c3a01ccad3de6bb2541729cf17d3d1dac827e5864dc5464a64cf6c31d995 Cargo.lock.patch
|
||||
"
|
||||
1434
testing/git-graph/Cargo.lock.patch
Normal file
1434
testing/git-graph/Cargo.lock.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user