blob: 73ef95e55a428cf3a921ada9c860261e569ede14 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Otreblan <otreblain@gmail.com>
pkgname=monophony
pkgver=2.17.1
pkgrel=1
pkgdesc="Linux app for streaming music from YouTube."
arch=('any')
url="https://gitlab.com/zehkira/monophony"
license=('MIT')
groups=()
depends=(
'libadwaita'
'python-brotli'
'python-gobject'
'python-mpris_server'
'python-mutagen'
'python-pycryptodomex'
'python-requests'
'python-websockets'
'python-ytmusicapi'
'yt-dlp'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('02d524daccb08a94268957f851d176af503f65ef195ed7aac52a2e9364191289')
prepare() {
cd "$srcdir/$pkgname-v$pkgver/source"
sed -i "/pip install/d" Makefile
}
build() {
cd "$srcdir/$pkgname-v$pkgver/source"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname-v$pkgver/source"
python -m installer --destdir="$pkgdir" dist/*.whl
make install prefix="$pkgdir/usr"
}
|