blob: b1626cdf32520781a044218a4d7a7ebe0096f344 (
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
54
|
# Submitter: Kevin Majewski <kevin.majewski02@gmail.com>
# Maintainer: Andrey Anshin <Andrey.Anshin@taragol.is>
pkgname=discover-overlay-git
pkgver=v0.7.1.r8.g6d92d0f
pkgrel=2
pkgdesc="Yet another Discord overlay for Linux written in Python using GTK3"
arch=("x86_64")
url="https://github.com/trigg/Discover"
license=("GPL3")
makedepends=(
"git"
"python-build"
"python-wheel"
"python-installer"
)
depends=(
"gtk3"
"python-gobject"
"python-pyxdg"
"python-requests"
"python-websocket-client"
"python-cairo"
"python-pillow"
"python-xlib"
"python-setuptools"
"python-pulsectl-asyncio"
)
conflicts=("discover-overlay")
provides=("discover-overlay")
optdepends=("gtk-layer-shell: Wayland support")
source=("${pkgname}::git+${url}.git")
sha512sums=("SKIP")
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
}
build() {
cd "${srcdir}/${pkgname}"
python -B -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}"
python -B -m installer --destdir="${pkgdir}" dist/*.whl
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|