# Maintainer: Thomas Simatic 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 }