summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab7d20f967d1ddc493ac5b59b1f43967b741024d (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
32
33
pkgname=quicktile-git
pkgver=20150913
pkgrel=1
url="https://github.com/ssokolow/quicktile"
pkgdesc="Lightweight standalone alternative to Compiz Grid plugin"
arch=('any')
license=('GPLv2')
depends=('python2' 'pygtk' 'python2-xlib' 'python2-wnck')
optdepends=('python2-dbus')
makedepends=('git')

_gitroot='git://github.com/ssokolow/quicktile.git'
_gitname='quicktile'

build()
{
	cd $srcdir

	msg "Cloning quicktile from GIT"
	if [ -d $_gitname ]; then
		cd $_gitname
		git pull || return 1
	else
		git clone $_gitroot $_gitname || return 1
		cd $_gitname
	fi
}

package()
{
	install -Dv -m755 ${srcdir}/quicktile/quicktile.py \
	$pkgdir/usr/bin/quicktile
}