blob: 2a71a72768d76ef63582f061f79bb9ddb470100f (
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
|
# Maintainer: Andrey Anshin <Andrey.Anshin@taragol.is>
pkgname=discover-overlay
pkgver=0.4.3
pkgrel=1
pkgdesc="Yet another Discord overlay for Linux written in Python using GTK3"
arch=("x86_64")
url="https://pypi.org/project/discover-overlay/"
license=("GPL3")
makedepends=("python-setuptools")
depends=(
"gtk3"
"python-gobject"
"python-pyxdg"
"python-requests"
"python-websocket-client"
"python-pidfile"
"python-cairo"
"python-pillow"
"python-xlib"
)
conflicts=("discover-overlay-git")
provides=("discover-overlay")
optdepends=("gtk-layer-shell: Wayland support")
source=("${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/d/discover-overlay/${pkgname}-${pkgver}.tar.gz")
sha512sums=("dc943ddb200d3246f781044b8fe059eace085a1ac13dbe7ff21b50b342aefa8ed2c1c9068d7c47bfcc8fa74ea78e9bf099030f3ec096ff46eff3bfded47a4358")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
export PYTHONHASHSEED=0
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|