blob: 2fbfce7e1d06f9483348d87840a07e7d2d186ed7 (
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
30
31
|
# Maintainer: David Vogt <dave at winged dot ch>
# This PKGBUILD is maintained at https://github.com/winged/aur-packages
pkgname=anytoggle
pkgver=0.r3.61130f4
pkgrel=1
pkgdesc="Toggle any program with a single shortcut"
arch=('x86_64' 'i686')
license=('GPL3')
url='https://github.com/winged/anytoggle'
depends=('wmctrl' 'xdotool')
provides=('anytoggle')
conflicts=()
source=("$pkgname::git://github.com/winged/anytoggle.git"
"LICENSE::https://raw.githubusercontent.com/winged/anytoggle/master/LICENSE")
sha256sums=('SKIP' 'SKIP')
pkgver() {
cd "${pkgname}"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
if [ ! -d "$pkgdir/usr/bin" ]; then
mkdir -p "$pkgdir/usr/bin"
fi
install anytoggle "$pkgdir/usr/bin"
}
# vim:set ts=2 sw=2 et:
|