diff options
author | 0xGingi | 2023-08-12 15:21:11 -0400 |
---|---|---|
committer | 0xGingi | 2023-08-12 15:21:11 -0400 |
commit | fb16b6098b22f8046ef3148c864fa4c40c0631b4 (patch) | |
tree | 763d8f2ced74f5b4d8e0d8c8980b29014ee1864b | |
parent | bfbaa280e97b9887c2706a91e55a9116117248f8 (diff) | |
download | aur-fb16b6098b22f8046ef3148c864fa4c40c0631b4.tar.gz |
modified: .SRCINFO
modified: PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = jellyfin-rpc-git pkgdesc = Displays the content you're currently watching on Discord pkgver = 0.14.1.r2.ge1ec0dd - pkgrel = 7 + pkgrel = 8 url = https://github.com/Radiicall/jellyfin-rpc arch = x86_64 license = GPL3 @@ -1,7 +1,7 @@ # Maintainer: 0xGingi <0xgingi@0xgingi.com> pkgname=('jellyfin-rpc-git') pkgver=0.14.1.r2.ge1ec0dd -pkgrel=7 +pkgrel=8 pkgdesc="Displays the content you're currently watching on Discord" arch=('x86_64') url="https://github.com/Radiicall/jellyfin-rpc" @@ -20,13 +20,24 @@ pkgver() { prepare() { cd jellyfin-rpc + export RUSTUP_TOOLCHAIN=stable + cargo fetch --target "$CARCH-unknown-linux-gnu" sed -i "s|^ExecStart=.*\$|ExecStart=/usr/lib/jellyfin-rpc/jellyfin-rpc|" scripts/jellyfin-rpc.service } build() { cd jellyfin-rpc - cargo build --release + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --frozen --release --all-features +} + +check() { + cd jellyfin-rpc + export RUSTUP_TOOLCHAIN=stable + cargo test --frozen --all-features + } package() { |