blob: 0b8be9c2df73e1e27f5c4210304f1b5c36eee80f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Cody Wyatt Neiman (xangelix) <neiman@cody.to>
pkgname=ytdl-sub
pkgver=2024.10.09
pkgrel=2
pkgdesc="Automate downloading and metadata generation with yt-dlp"
arch=('any')
url="https://github.com/jmbannon/ytdl-sub"
license=('GPL-3.0')
depends=('python' 'yt-dlp' 'python-colorama' 'python-mergedeep' 'python-mediafile' 'python-yaml')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jmbannon/ytdl-sub/archive/$pkgver.tar.gz")
sha512sums=('e5c2e62b2f7a57db5b8c0510b530f58982f06699a2fb8014230ffc6bf80d234311bee4dd9e2bf9cadb8d8bec6a3842c3ad87c78737b5e61b2c0755064d3d9993')
build() {
cd ytdl-sub-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd ytdl-sub-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|