blob: 30e5eba9700de59fa6423ac00c8f34272c728f04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
# Contributor: Fenner Macrae <fmacrae.dev at gmail dot com>
_pkgname=i3-swallow
pkgname=$_pkgname-git
pkgver=r66.7a9faed
pkgrel=1
pkgdesc="Swallow a terminal window after a blocking application is run in i3"
arch=('any')
url="https://github.com/jamesofarrell/i3-swallow"
license=('MIT')
depends=('i3-wm' 'python-i3ipc')
makedepends=('git')
provides=("${_pkgname}")
source=("${_pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver()
{
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm 755 swallow.py "${pkgdir}"/usr/bin/swallow
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|