blob: f3d9c1713ba15580b38e55a074660fc14674c326 (
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
27
28
29
30
31
32
|
# Maintainer: Swarnaditya Singh <demonkingswarn@protonmail.com>
pkgname=luffy-bin
_pkgname=luffy
pkgver=1.2.1
pkgrel=1
pkgdesc="Watch movies and series from your commandline"
arch=('x86_64' 'aarch64')
url="https://github.com/DemonKingSwarn/luffy"
license=('GPL3')
depends=(fzf yt-dlp chafa libsixel ffmpeg)
optdepends=(kitty ghostty mpv vlc)
provides=(luffy)
conflicts=()
replaces=()
backup=()
options=()
source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-linux-amd64")
source_aarch64=("${url}/releases/download/v${pkgver}/${_pkgname}-linux-arm64")
noextract=()
sha256sums_x86_64=('SKIP')
sha256sums_aarch64=('SKIP')
package() {
local _bin_suffix=""
if [[ "$CARCH" == "x86_64" ]]; then
_bin_suffix="amd64"
else
_bin_suffix="arm64"
fi
install -Dm755 "${_pkgname}-linux-${_bin_suffix}" "${pkgdir}/usr/bin/${_pkgname}"
}
|