blob: 65514332b9774039c7efa1e73029d14ebd63c116 (
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
|
# Maintainer: Helmut Stult <hst[at]e-mail[dot]de>
pkgname=youtube-downloader-bin
_pkgname=youtube-downloader
pkgver=3.9.9.97
pkgrel=5
pkgdesc='YouTube Downloader by MediaHuman'
arch=('x86_64')
url="https://www.mediahuman.com/download.html"
license=('LicenseRef-custom')
depends=('hicolor-icon-theme'
'qt5-multimedia'
'qt5-webengine'
'qt5-declarative'
'taglib1'
'ffmpeg')
provides=('youtube-downloader')
conflicts=('youtube-downloader')
source_x86_64=("${pkgname}-$(date +%F-%H).amd64.deb::https://schinfo.de/MediaHuman/YouTubeDownloader.amd64.deb")
sha256sums_x86_64=('1589f68ecd9b52496f8cc26df064e3f1bd913b1ee1d4a71060a612b82a071712')
pkgver() {
bsdtar -xf control.tar.xz -C .
actpkgverlong="$(cat "control" | grep "Version: ")"
actpkgver=${actpkgverlong##*: }
echo "$actpkgver"
}
package() {
bsdtar -xf data.tar.xz -C ${pkgdir}/
install -D "${pkgdir}/usr/share/doc/${_pkgname}/copyright" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dm755 $pkgdir/usr/bin
ln -s /opt/$_pkgname/YouTubeDownloader "${pkgdir}/usr/bin/YouTubeDownloader"
}
|