blob: 08aaef1c5a646cce2543292015fc60fdf3bd39eb (
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
|
# Maintainer: Your Name <your.email@example.com>
pkgname=python-qtile-ebenezer
pkgver=0.1.10
pkgrel=1
provides=("$pkgname")
conflicts=("$pkgname")
pkgdesc="This repository provides a collection of widgets and behaviors spanning Desktop to Qtile Tiling Window Manager. (Git version)"
url="https://github.com/williampsena/qtile-ebenezer.git"
arch=('any')
license=('MIT')
depends=('python')
makedepends=(
"git"
"python-setuptools"
"python-setuptools-scm"
"python-wheel"
"python-build"
"python-installer"
)
source=(git+https://github.com/williampsena/qtile-ebenezer#tag=v$pkgver)
sha256sums=('SKIP')
build() {
cd "$srcdir/qtile-ebenezer"
rm -rf "$srcdir/qtile-ebenezer/dist"
python -m build --wheel
}
package()
{
cd "$srcdir/qtile-ebenezer"
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/"
}
|