summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90a1e09ac623392afc51db9abd08cfbc50d778e9 (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
34
35
# Maintainer: dustball

pkgname=quicktile-git
pkgver=20170907
pkgrel=2
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' 'python2-setuptools')
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()
{
    cd ${srcdir}/${_gitname}
    python2 setup.py install --root="${pkgdir}" --optimize=1
}