diff options
author | Yigit Sever | 2021-11-28 14:49:08 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-28 14:49:08 +0300 |
commit | 1ed643c92ae876c2314beffcf490e5a9e275ae43 (patch) | |
tree | e16ea2d2f6af08958d872c19a96505e9d8f13a07 | |
parent | e80c40bc6b14c31350f7858054bd55e063eef292 (diff) | |
download | packages-1ed643c92ae876c2314beffcf490e5a9e275ae43.tar.gz packages-1ed643c92ae876c2314beffcf490e5a9e275ae43.tar.bz2 packages-1ed643c92ae876c2314beffcf490e5a9e275ae43.zip |
i3-layouts: adopted
-rw-r--r-- | i3-layouts/.SRCINFO | 14 | ||||
-rw-r--r-- | i3-layouts/PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
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 @@ | |||
1 | pkgbase = i3-layouts | ||
2 | pkgdesc = Dynamic layouts for i3wm | ||
3 | pkgver = 0.13.2 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/eliep/i3-layouts | ||
6 | arch = any | ||
7 | license = MIT | ||
8 | depends = python | ||
9 | depends = xdotool | ||
10 | depends = i3-wm | ||
11 | source = i3-layouts-0.13.2.tar.gz::https://github.com/eliep/i3-layouts/archive/v0.13.2.tar.gz | ||
12 | sha256sums = 813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb | ||
13 | |||
14 | 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 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=i3-layouts | ||
4 | pkgver=0.13.2 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Dynamic layouts for i3wm" | ||
7 | arch=('any') | ||
8 | url="https://github.com/eliep/i3-layouts" | ||
9 | license=('MIT') | ||
10 | depends=('python' 'xdotool' 'i3-wm') | ||
11 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") | ||
12 | sha256sums=('813ae25331e98556b559ec9c6e42f3c08c60ee668da997562af5a9e7bd68efbb') | ||
13 | |||
14 | build() { | ||
15 | cd "$srcdir/$pkgname-$pkgver" | ||
16 | python setup.py build | ||
17 | } | ||
18 | |||
19 | package() { | ||
20 | cd "$srcdir/$pkgname-$pkgver" | ||
21 | python setup.py install --root="$pkgdir" --optimize=1 | ||
22 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
23 | } | ||
24 | |||