blob: f3f3f98a77095cfc0cf19e84c2bf11795e7163c9 (
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
|
# Maintainer: Anarcoco <archlinux.dn4qx@slmail.me>
pkgname=youtube-local-git
pkgver=2023.04.27.fa9906a
pkgrel=2
pkgdesc="browser-based client for watching Youtube anonymously with greater page performance"
arch=('any')
url="https://github.com/user234683/youtube-local"
license=('AGPL3')
depends=('python-flask>=1.0.3' 'python-gevent>=1.2.2' 'brotli>=1.0.7' 'python-pysocks>=1.6.8' 'python-urllib3>=1.24.1' 'python-defusedxml>=0.5.0' 'python-cachetools>=4.0.0' 'python-stem>=1.8.0')
optdepends=('python-pytest: development requirement')
provides=(youtube-local)
replaces=(youtube-local)
_commit=fa9906a34d860c13b0813ee2dfd97c6456b44a19
source=("youtube-local-$_commit.zip"::"https://github.com/user234683/youtube-local/archive/$_commit.zip"
youtube-local.service)
install=youtube-local.install
sha512sums=('f2f30cb25f5206a8210ddb46dfdc839e5c7de5fcc7d88d2bb80177dd5fecfd0788e61def3b388edc214cf74f4d1bcfe0d780d7f2cec3bcd1edd874cb26f22e29' # This is the zip (this changes with every version)
'9c7318b3e8fbcb3947301ff8a3060dde2d8b4c404c4aa486ac92e20264bbbefca2eba61414b7cb4905a4433c7dae8eb540cc65945980ba766c1f0c68fa9d9425')
package() {
cd $srcdir/youtube-local-$_commit
rm run.bat
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/youtube-local/LICENSE"
mkdir -p ${pkgdir}/opt/youtube-local/
cp -r * ${pkgdir}/opt/youtube-local/
mkdir -p ${pkgdir}/usr/lib/systemd/user/
install -Dm644 ${srcdir}/youtube-local.service ${pkgdir}/usr/lib/systemd/user/
}
|