diff options
Diffstat (limited to 'i3-layouts')
-rw-r--r-- | i3-layouts/.SRCINFO | 16 | ||||
-rw-r--r-- | i3-layouts/PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/i3-layouts/.SRCINFO b/i3-layouts/.SRCINFO new file mode 100644 index 0000000..71a2791 --- /dev/null +++ b/i3-layouts/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | pkgbase = i3-layouts | ||
2 | pkgdesc = Dynamic layouts for i3wm | ||
3 | pkgver = 0.13.2 | ||
4 | pkgrel = 3 | ||
5 | url = https://github.com/eliep/i3-layouts | ||
6 | arch = any | ||
7 | license = MIT | ||
8 | makedepends = python-setuptools | ||
9 | depends = python | ||
10 | depends = xdotool | ||
11 | depends = i3-wm | ||
12 | depends = python-i3ipc | ||
13 | source = i3-layouts-0.13.2.tar.gz::https://github.com/eliep/i3-layouts/archive/v0.13.2.tar.gz | ||
14 | sha256sums = 813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb | ||
15 | |||
16 | pkgname = i3-layouts | ||
diff --git a/i3-layouts/PKGBUILD b/i3-layouts/PKGBUILD new file mode 100644 index 0000000..cac3a28 --- /dev/null +++ b/i3-layouts/PKGBUILD | |||
@@ -0,0 +1,25 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=i3-layouts | ||
4 | pkgver=0.13.2 | ||
5 | pkgrel=3 | ||
6 | pkgdesc="Dynamic layouts for i3wm" | ||
7 | arch=('any') | ||
8 | url="https://github.com/eliep/i3-layouts" | ||
9 | license=('MIT') | ||
10 | makedepends=('python-setuptools') | ||
11 | depends=('python' 'xdotool' 'i3-wm' 'python-i3ipc') | ||
12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") | ||
13 | sha256sums=('813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb') | ||
14 | |||
15 | build() { | ||
16 | cd "$srcdir/$pkgname-$pkgver" | ||
17 | python setup.py build | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | cd "$srcdir/$pkgname-$pkgver" | ||
22 | python setup.py install --root="$pkgdir" --optimize=1 | ||
23 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
24 | } | ||
25 | |||