summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56696ca20dd9cd8d2061b621b73aa70932ed5c81 (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
# Maintainer: Ali Abdelwahab <aliabdoxd14@gmail.com>
pkgname=ani-stream
pkgver=3.1.2
pkgrel=1
pkgdesc="A lightweight CLI tool to stream and download anime from the terminal"
arch=('any')
url="https://github.com/aliabdoxd27-source/ani-stream"
license=('MIT')
depends=('curl' 'fzf' 'mpv' 'bash')
optdepends=('yt-dlp: for HLS stream downloads'
            'ffmpeg: alternative for downloads'
            'aria2: for faster downloads'
            'rofi: for rofi-based menu selection'
            'ani-skip: for skipping intros')
source=("git+${url}.git#branch=main")
sha256sums=('SKIP')

package() {
  cd "${pkgname}"
  
  install -Dm755 ani-stream "${pkgdir}/usr/bin/ani-stream"
  install -Dm644 LISENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}