blob: 93928fbe8c77c2eefae7ac0d9a1540f05e426cd0 (
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
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Deepjyoti <deep.barman30@gmail.com>
pkgname=youtube-search-python-git
pkgver() {
cd "youtube-search-python"
printf '%s.r%s.%s' \
"$(grep version= setup.py | sed 's/^\s*version="\(.*\)".*/\1/')" \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=1.6.0.r221.980e440
pkgrel=1
pkgdesc="Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3"
arch=("any")
url="https://github.com/alexmercerind/youtube-search-python"
license=('MIT')
depends=(
"python>=3.6"
"python-httpx>=0.14.2"
)
makedepends=("git" "python-setuptools")
optdepends=()
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/alexmercerind/youtube-search-python.git")
noextract=()
md5sums=("SKIP")
validpgpkeys=()
build() {
cd "youtube-search-python"
python3 setup.py build
}
package() {
cd "youtube-search-python"
python3 setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|