blob: 335319b77f7ac8b575965434950a78ebcc177a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Wraient <rushikeshwastaken@gmail.com>
pkgname='curd'
pkgver=1.0.3
pkgrel=2
pkgdesc="Watch anime in CLI with AniList Tracking, Discord RPC, Intro/Outro/Filler/Recap Skipping, etc."
arch=('x86_64')
url="https://github.com/Wraient/curd"
license=('GPL')
depends=('mpv' 'rofi' 'ueberzugpp')
source=("$pkgname::https://github.com/Wraient/curd/releases/latest/download/curd-linux-x86_64")
sha256sums=('SKIP')
package() {
# Install the precompiled binary into /usr/bin
install -Dm755 "$srcdir/curd-linux-x86_64" "$pkgdir/usr/bin/curd"
}
pkgver() {
local ver
ver=$(curl -s --fail "https://api.github.com/repos/Wraient/curd/releases/latest" | jq -r '.tag_name' | sed 's/^v//')
if [ -n "$ver" ]; then
echo "$ver"
else
echo "$pkgver"
fi
}
|