summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc2e9437a4de1fc2a9e99c763fc0a74325d37112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Atreya Shankar <shankar.atreya@gmail.com>

pkgname='i3-balance-workspace'
pkgver=1.8.6
pkgrel=1
pkgdesc='Balance windows and workspaces in i3wm'
url='https://github.com/atreyasha/i3-balance-workspace'
depends=('python>=3.5.0' 'python-i3ipc>=2.2.1-1')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('786d29f2ac5679b42cc0efd061dc8310')

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

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