summaryrefslogtreecommitdiffstats
path: root/i3-layouts/PKGBUILD
blob: 9d6d3b5ef29da54c860cfcabd68dd511038b88d3 (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
# Maintainer: Yigit Sever <yigit at yigitsever dot com>

pkgname=i3-layouts
pkgver=0.13.2
pkgrel=1
pkgdesc="Dynamic layouts for i3wm"
arch=('any')
url="https://github.com/eliep/i3-layouts"
license=('MIT')
depends=('python' 'xdotool' 'i3-wm')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb')

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

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}