summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68c9509875b5aef83594593d6976bf64b3863280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Thomas Simatic <thomas.sim@mailo.com>
pkgname="i3-scratchpad-git"
pkgver=1.1
pkgrel=1
pkgdesc="The Swiss Army Knife of floating i3 windows"
arch=(any)
license=('Unlicense')
depends=(i3-wm wmctrl bash xdotool)
optdepends=('rxvt-unicode: for terminal programs support')

source=("git+https://gitlab.com/aquator/i3-scratchpad.git")
md5sums=(SKIP)

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | sed "s+-+.r+" | tr - .
}

package() {
    cd ${pkgname%-git}
    install -Dm 755 i3-scratchpad -t "$pkgdir"/usr/bin
}