summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortttturtle-russ2024-04-29 21:13:30 +0800
committertttturtle-russ2024-04-29 21:13:30 +0800
commit893664665c9cbd8cfc06c559629559773ea77db5 (patch)
treef84c271c0271097733ca91275fbd7139c42a2b8b
parent5d0a4d0cdefb8cbc334dd2a38d23d23198982315 (diff)
downloadaur-893664665c9cbd8cfc06c559629559773ea77db5.tar.gz
update package()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ce38e28a84b..eedccacfba00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 4d370b21ed47..f7c59e7dc78b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}