blob: d0426cc861633b57325331c46c2edb70e4352d0c (
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: elParaguayo <elparaguayocode@gmail.com>
pkgname=qtile-extras-git
_pkgname=qtile-extras
pkgver=0.29.0.r23.ga4de746
pkgrel=1
provides=("$_pkgname")
conflicts=("$_pkgname")
pkgdesc="Unofficial mods for qtile that are unlikely to be maintained in the main repo."
url="https://github.com/elparaguayo/qtile-extras"
arch=("any")
license=("MIT")
depends=("python" "qtile")
makedepends=(
"git"
"python-setuptools"
"python-setuptools-scm"
"python-wheel"
"python-installer"
"python-build"
)
source=("git+https://github.com/elparaguayo/$_pkgname.git")
md5sums=("SKIP")
pkgver()
{
cd "$_pkgname"
git describe --long --tags --abbrev=7 | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
python -m build --wheel --no-isolation
}
package()
{
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|