blob: acb6638e3dd9a606644f25b05c892498ebaf44fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Rayr https://rayr.ml/LinkInBio/
pkgname=discord-rpc-cli
pkgver=1.4.6
pkgrel=1
pkgdesc="A Discord RPC cli client written purely in Rust"
arch=('x86_64')
url="https://github.com/Rayrsn/Discord-RPC-cli"
license=('GPL')
makedepends=('cargo')
source=("https://github.com/Rayrsn/Discord-RPC-cli/archive/refs/tags/V$pkgver.zip")
md5sums=('92ad551e4d4b8899a879d83ae918b1d8')
build() {
cd "Discord-RPC-cli-$pkgver"
cargo build --release
}
package() {
cd "Discord-RPC-cli-$pkgver"
install -Dm755 "target/release/discord-rpc-cli" "$pkgdir/usr/bin/discord-rpc-cli"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|