diff options
author | tttturtle-russ | 2024-04-29 21:13:30 +0800 |
---|---|---|
committer | tttturtle-russ | 2024-04-29 21:13:30 +0800 |
commit | 893664665c9cbd8cfc06c559629559773ea77db5 (patch) | |
tree | f84c271c0271097733ca91275fbd7139c42a2b8b | |
parent | 5d0a4d0cdefb8cbc334dd2a38d23d23198982315 (diff) | |
download | aur-893664665c9cbd8cfc06c559629559773ea77db5.tar.gz |
update package()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 4 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = twitch-dl-git pkgdesc = Twitch video downloader that use multiple concurrent connections - pkgver = 2.3.0.r5.gde95384 + pkgver = 2.3.0.r6.g47d62bc pkgrel = 1 url = https://github.com/ihabunek/twitch-dl arch = any @@ -1,7 +1,7 @@ # Maintainer: TurtleRuss <tttturtleruss@gmail.com> pkgname=twitch-dl-git -pkgver=2.3.0.r5.gde95384 +pkgver=2.3.0.r6.g47d62bc pkgrel=1 pkgdesc="Twitch video downloader that use multiple concurrent connections" arch=(any) @@ -27,11 +27,6 @@ build() { } package() { - cd "${pkgname%-git}/dist" - whl=$(ls | grep *.whl) - mkdir -p "$pkgdir/usr/bin" - mkdir -p "$pkgdir/temp" - pip install -U $whl --break-system-packages -t "$pkgdir/temp" - cp "$pkgdir/temp/bin/twitch-dl" "$pkgdir/usr/bin" - rm -rf "$pkgdir/temp" + cd "${pkgname%-git}" + python -m installer --destdir="$pkgdir" dist/*.whl } |