summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff1e87aae05179166d2794565a17193873d7ec1d (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
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=i3a
pkgver=2.0.1
pkgrel=5
pkgdesc="a set of scripts used for automation of i3 and sway window manager layouts"
arch=('any')
url="https://pypi.org/project/i3a"
license=('GPL')
groups=('i3')
depends=('python-i3ipc')
makedepends=('python-pip' 'python-setuptools' 'python-wheel')
optdepends=(
  'i3-wm: for X11 setup'
  'xorg-xprop: for X11 setup'
  'sway: for Wayland setup'
)
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('da4d4762d809efaa972ef5fa4663922ad30c83e2bbdb69fc53d62604036f42f1')

build() {
	cd "$pkgname-$pkgver"
	python setup.py build
}

package() {
	cd "$pkgname-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1
}