blob: 6d387d325c57ebae65d5e69070b234b59a7a164e (
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: Ananas <ananas@ananas.moe>
_pkgname=pytubefix
pkgname=python-pytubefix
pkgver="8.1.1"
pkgrel=1
pkgdesc="A pytube fork with additional features and fixes"
arch=("x86_64" "i686")
url="https://github.com/JuanBindez/pytubefix"
license=("MIT")
makedepends=(
"python-build" "python-installer" "python-wheel"
)
depends=(
"python"
)
optdepends=()
checkdepends=()
provides=("pytubefix")
conflicts=( )
md5sums=("SKIP")
source=(
"${pkgname}-${pkgver}.zip::https://github.com/JuanBindez/pytubefix/archive/refs/tags/v$pkgver.zip"
)
build() {
cd $srcdir/${_pkgname}-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd ${_pkgname}-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|