diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a4522bfb803b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = i3-scratchpad-git + pkgdesc = The Swiss Army Knife of floating i3 windows + pkgver = 7 + pkgrel = 1 + arch = any + license = Unlicense + depends = i3-wm + depends = bash + optdepends = rxvt-unicode: for terminal programs support + source = git+https://gitlab.com/aquator/i3-scratchpad.git + md5sums = SKIP + +pkgname = i3-scratchpad-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2c443ab8648 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Thomas Simatic <thomas.sim@mailo.com> +pkgname="i3-scratchpad-git" +pkgver=7 +pkgrel=1 +pkgdesc="The Swiss Army Knife of floating i3 windows" +arch=(any) +license=('Unlicense') +depends=(i3-wm bash) +optdepends=('rxvt-unicode: for terminal programs support') + +source=("git+https://gitlab.com/aquator/i3-scratchpad.git") +md5sums=(SKIP) + +pkgver() { + cd ${pkgname%-git} + git rev-list --all --count +} + +package() { + cd ${pkgname%-git} + install -Dm 755 i3-scratchpad -t "$pkgdir"/usr/bin +} |