summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16e9cd54793792e9b12c19547fd886d7c3cda7b7 (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
# Maintainer: elParaguayo <elparaguayocode at gmail dot com>
pkgname=qtile-extras
pkgver=0.25.0
pkgrel=1
provides=("$pkgname")
conflicts=("$pkgname")
pkgdesc="Unofficial mods for qtile. Tagged release to match stable qtile releases."
url="https://github.com/elparaguayo/qtile-extras.git"
arch=("any")
license=("MIT")
depends=("python" "qtile")
makedepends=(
  "git"
  "python-setuptools"
  "python-setuptools-scm"
  "python-wheel"
  "python-build"
  "python-installer"
)
optdepends=(
  "python-requests: various widgets"
  "python-iwlib: wifi icon widget"
  "python-dbus-next: various widgets"
)
source=(git+https://github.com/elparaguayo/qtile-extras#tag=v$pkgver?signed)
md5sums=("SKIP")
validpgpkeys=(
  'A6BAA1E17D2664ADB97B2C6F58A9AA7C86727DF7' # elParaguayo <elparaguayocode at gmail dot com>
)

build() {
  cd "$pkgname"
  python -m build --wheel 
}

package()
{
  cd "$pkgname"
  python -m installer --destdir="$pkgdir" dist/*.whl

  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
  install -vDm 644 CHANGELOG -t "$pkgdir/usr/share/doc/$pkgname/"
}