summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7017080f22687ae2c72706fb7792b4d79abec34 (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
# Maintainer: Michael Kogan <michael.kogan at gmx dot net>

pkgname='wm-switcher'
pkgdesc='Simple GUI to switch window managers in Linux with minimal dependencies'
pkgver=1.03
pkgrel=1

depends=('python-pyqt4')
optdepends=('metacity: Switch to the Metacity window manager'
		'xfwm4: Switch to the Xfwm window manager'
		'compiz: Switch to the Compiz window manager'
		'openbox: Switch to the Openbox window manager'
		'compton: Use the Compton compositor')

source=("https://github.com/xircon/wm-switcher/archive/v$pkgver.tar.gz")
md5sums=('66875f943156ca70bfffd2b87c11ff05')

arch=('i686' 'x86_64')
url='https://github.com/xircon/wm-switcher'
license=('GPL3')

package() {
	install -d -m755 "$pkgdir/usr/bin"
	install -d -m755 "$pkgdir/usr/share/applications"
	install -d -m755 "$pkgdir/usr/share/doc/wm-switcher"
	install -m 755 "$srcdir/wm-switcher-$pkgver/wm.py" "$pkgdir/usr/bin/wm-switcher"
	cp -dr "$srcdir/wm-switcher-$pkgver/wm-switcher.desktop" "$pkgdir/usr/share/applications/"
	cp -dr "$srcdir/wm-switcher-$pkgver/LICENSE" "$pkgdir/usr/share/doc/wm-switcher/"
	cp -dr "$srcdir/wm-switcher-$pkgver/README.md" "$pkgdir/usr/share/doc/wm-switcher/"
}