Skip to content

Commit c793ae8

Browse files
committed
Add APKBUILD
1 parent 68db80d commit c793ae8

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

APKBUILD

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
makedepends="go"
2+
license="MIT"
3+
arch="all"
4+
url=https://lbry.org
5+
pkgdesc="The LBRY Command Line Interface (CLI) to interact with the LBRY Daemon."
6+
pkgver=0.0.0
7+
pkgrel=0
8+
pkgname=lbry-cli
9+
source="$pkgname-$pkgver.tar.gz::https://github.com/LBRYFoundation/lbry-cli/archive/refs/heads/master.tar.gz"
10+
11+
options="net"
12+
builddir="$srcdir/lbry-cli-master"
13+
maintainer="LBRY Foundation <board@lbry.org>"
14+
15+
build() {
16+
go build -o lbry-cli
17+
}
18+
19+
check() {
20+
go test ./...
21+
}
22+
23+
package() {
24+
install -Dm755 "$builddir/lbry-cli" "$pkgdir/usr/bin/lbry-cli"
25+
}
26+
27+
sha512sums="
28+
d763830597c22719b782c1649c1e879502c0d3acd26896393b3ef51fad4e071734928f7942dae5644fe4e53a8f00044fda53486abd635eeb931dd59ba68e1e2d lbry-cli-0.0.0.tar.gz
29+
"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
![Scoop Version](https://img.shields.io/scoop/v/lbry-cli)
1111
![Conda Version](https://img.shields.io/conda/vn/conda-forge/lbry-cli?logo=anaconda)
1212

13+
Native: [![Packaging status](https://repology.org/badge/vertical-allrepos/lbry-cli.svg)](https://repology.org/project/lbry-cli/versions)
14+
1315
The LBRY Command Line Interface (CLI) to interact with the LBRY Daemon.
1416

1517
## Build

0 commit comments

Comments
 (0)