summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1334667f0cda38b90ec113875fba269213a0c63 (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
29
# Maintainer: Lit Wakefield <noct[at]openmailbox[dot]org>

_pkgname=tdrop
pkgname=tdrop-git
pkgver=0.1.r23.g682ec14
pkgrel=1
pkgdesc="A WM-Independent dropdown window and terminal creator"
arch=('any')
url="https://github.com/noctuid/tdrop"
license=('Simplified BSD')
depends=('bash' 'xdotool' 'xorg-xwininfo' 'xorg-xprop')
optdepends=('tmux: session starting support'
            'tmuxinator: session starting support'
            'sxhkd: for a tdrop keybinding'
            'xorg-xrandr: multiple monitor resizing support')
makedepends=('git')
provides=("${_pkgname}")
md5sums=('SKIP')
source=("git://github.com/noctuid/${_pkgname}.git")

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/$_pkgname"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}