summaryrefslogtreecommitdiff
path: root/i3-swallow/PKGBUILD
blob: c9cc8430e57a4a8c94f0937fcbfaa0e978194501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: TheCynicalTeam <TheCynicalTeam@github.com>
pkgname=i3-swallow
pkgver=2021.01.01
pkgrel=1
pkgdesc="Swallow a terminal window after a blocking application is run in i3"
arch=('any')
url="https://github.com/TheCynicalTeam/i3-swallow"
license=('GNU General Public License v3.0')
depends=('xdo')
makedepends=('git')
conflicts=('i3-swallow-git')
changelog=
source=("$pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/TheCynicalTeam/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('279c3ec55a40060c861194d95bad50552b916982c01a281ef6084a16edf6eec6e3d164ee8b8d6d4247c841407045a4571bc6a070526b9f26cea99a1f159a2d20')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm 755 swallow "$pkgdir/usr/bin/i3-swallow"
  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}