blob: 5439a7d1871804fb260fee883cece221e6804f7e (
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
|
# Maintainer: pseudoroot <pseudoroot@protonmail.ch>
pkgname='yt-audio'
pkgver=0.1
pkgrel=1
pkgdesc="youtube-dl wrapper for downloading/managing youtube audio (with added features)."
arch=('any')
url="https://github.com/pseudoroot/yt-audio"
license=('MIT')
depends=('youtube-dl' 'ffmpeg')
makedepends=('python-setuptools')
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('13a2535b49555c89a9bab71da5502334')
build() {
cd "$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
# Install MIT licence
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|