diff options
author | Yigit Sever | 2021-11-22 14:48:26 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-22 14:48:26 +0300 |
commit | 4221caed0e541e9e097517766223271a015e3ba0 (patch) | |
tree | f770d28a8e7684c3c59adff65b5bc4a76c6e09c8 /PKGBUILD | |
download | aur-4221caed0e541e9e097517766223271a015e3ba0.tar.gz |
Publish to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9d6d3b5ef29d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} + |