blob: 2ef2addae2006ff77afe56fc09c3196d81409c0f (
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
|
# Maintainer: Bruce Zhang <zttt183525594@gmail.com>
_pkgname=feeluown
pkgname=${_pkgname}-git
pkgver=r1674.5cf00cc
pkgrel=3
epoch=2
pkgdesc="FeelUOwn Music Player (Master branch)"
arch=('any')
url="https://github.com/feeluown/FeelUOwn"
license=('GPL-3.0-or-later')
provides=('feeluown')
conflicts=('feeluown')
depends=('python-qasync' 'python-pyqt5' 'mpv' 'python-opengl' 'python-janus' 'python-requests'
'python-tomlkit' 'python-packaging' 'python-pydantic' 'python-mutagen' 'qt5-svg'
'xdg-user-dirs')
makedepends=('git' 'python-setuptools' 'python-pip')
optdepends=(
'feeluown-local'
'feeluown-netease'
'feeluown-kuwo'
'feeluown-qqmusic'
'feeluown-bilibili'
'feeluown-ytmusic'
)
source=(
"$_pkgname::git+https://github.com/feeluown/FeelUOwn.git"
"$_pkgname.desktop"
)
sha256sums=('SKIP'
'f403ba2261f847de1fc47bb04076beec74b62d8cd4776deb6be9b05d7b465860')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
LANG=en_US.UTF-8 python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
LANG=en_US.UTF-8 python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -D -m644 "$srcdir/$_pkgname/feeluown/gui/assets/icons/feeluown.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/feeluownapp.png"
install -D -m644 "$srcdir/feeluown.desktop" "$pkgdir/usr/share/applications/FeelUOwn.desktop"
}
|