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/.SRCINFO | 14 ++++++++++++++ i3-layouts/PKGBUILD | 24 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 i3-layouts/.SRCINFO create mode 100644 i3-layouts/PKGBUILD (limited to 'i3-layouts') diff --git a/i3-layouts/.SRCINFO b/i3-layouts/.SRCINFO new file mode 100644 index 0000000..fc74efb --- /dev/null +++ b/i3-layouts/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = i3-layouts + pkgdesc = Dynamic layouts for i3wm + pkgver = 0.13.2 + pkgrel = 1 + url = https://github.com/eliep/i3-layouts + arch = any + license = MIT + depends = python + depends = xdotool + depends = i3-wm + source = i3-layouts-0.13.2.tar.gz::https://github.com/eliep/i3-layouts/archive/v0.13.2.tar.gz + sha256sums = 813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb + +pkgname = i3-layouts 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