From 1ed643c92ae876c2314beffcf490e5a9e275ae43 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 28 Nov 2021 14:49:08 +0300 Subject: i3-layouts: adopted --- i3-layouts/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 i3-layouts/PKGBUILD (limited to 'i3-layouts/PKGBUILD') diff --git a/i3-layouts/PKGBUILD b/i3-layouts/PKGBUILD new file mode 100644 index 0000000..9d6d3b5 --- /dev/null +++ b/i3-layouts/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yigit Sever + +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" +} + -- cgit v1.2.3-70-g09d2