blob: 3d0192d10de11906722dd3490c6b0584b85457e7 (
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
33
|
# Maintainer: Aethar <elliott.ashby88@gmail.com>
_pkgname=feather
pkgname="${_pkgname}-music-git"
pkgver=0.1.0.r0.bb4f6b3
pkgrel=2
pkgdesc="Feather is a lightweight, efficient, and locally hosted YouTube Music TUI built with Rust."
arch=('x86_64')
url="https://github.com/13unk0wn/Feather"
license=('MIT')
makedepends=('git' 'cargo>=1.85.0')
depends=('yt-dlp'
'mpv')
provides=('feather')
source=("git+${url}.git")
build() {
cd "${srcdir}" || exit
cd Feather/feather_frontend || exit
CFLAGS+=" -ffat-lto-objects"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --release
}
package() {
cd "${srcdir}" || exit
cd Feather || exit
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm755 feather_frontend/target/release/feather_frontend "$pkgdir/usr/bin/${_pkgname}"
}
sha256sums=('SKIP')
|