blob: 84d7fa1490500af4d6561b7e4e9967f8e0b5f033 (
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: Kanehekili (mat dot wegmann at gmail dot com)
pkgname=ytdownloader
pkgver=1.4.7
pkgrel=1
pkgdesc="GKT3 frontend for yt-dlp (the active branch of youtube-dl) with focus on best audio and video. Uses ffmpeg for joining audio & video"
url="https://github.com/kanehekili/YoutubeDownloader"
license=('GPL2' 'MIT')
depends=('python' 'python-gobject' 'ffmpeg' 'yt-dlp')
arch=('any')
source=(https://github.com/kanehekili/YoutubeDownloader/releases/download/1.4.7/ytdownloader1.4.7.tar)
md5sums=(8d9c0aef678cbfecb0608cf96e001542)
package(){
cd ${srcdir}
mkdir -p "${pkgdir}/opt/${pkgname}"
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/bin"
rm $srcdir/$pkgname/install.sh
rm $srcdir/$pkgname/uninstall.sh
cp $srcdir/$pkgname/YtGui.desktop $pkgdir/usr/share/applications
cp -r $srcdir/$pkgname/* $pkgdir/opt/$pkgname
chmod +x ${pkgdir}/opt/${pkgname}/YtGui.py
chmod a+rx ${pkgdir}/opt/${pkgname}/yt-dlp
ln -sf /opt/${pkgname}/YtGui.py ${pkgdir}/usr/bin/ytgui
}
|