diff options
author | angelic-sedition | 2015-08-12 03:20:35 -0400 |
---|---|---|
committer | angelic-sedition | 2015-08-12 03:40:16 -0400 |
commit | 034ed92ac3b24782253425eb7980d47aeb7e1d56 (patch) | |
tree | ab53f4b0541ff43077221939a5a2f9d47d6d3b69 /PKGBUILD | |
download | aur-034ed92ac3b24782253425eb7980d47aeb7e1d56.tar.gz |
Migrate tdrop to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df54455bd716 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Lit Wakefield <noct[at]openmailbox[dot]org> + +_pkgname=tdrop +pkgname=tdrop-git +pkgver= +pkgrel=1 +pkgdesc="A WM-Independent dropdown window and terminal creator" +arch=('any') +url="https://github.com/angelic-sedition/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') +makedepends=('git') +provides=("${_pkgname}") +md5sums=('SKIP') +source=("git://github.com/angelic-sedition/${_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 +} |