summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba69af07e9ff2efe391cfc52bf2250f7e2aabb4e (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
36
37
38
39
40
41
42
43
# Maintainer: Sergio Correia <sergio@correia.cc>
# Contributor: Gabriel Sabillon
# Contributors: Tsarev Nikita, LoranKey

# Set the following variable to true to use category icons instead of names
_category_icons=false

pkgname=mylaunchpad-git
_pkgname_simple=mylaunchpad
pkgdesc="Eyecandy Full Screen launcher script for openbox and other stand-alone window managers"
pkgrel=2
pkgver=r93.7bb98be

arch=('any')
url="https://github.com/gaboelnuevo/mylaunchpad"
license=('GPL')
depends=('python2-lxml' 'pygtk' 'cairo' 'python2-cairo' 'python2-imaging' 'gnome-menus2'
'python2-distutils-extra')
optdepends=('gtk-engine-murrine: murrine engine')
makedepends=('git')
provides=('mylaunchpad')
conflicts=('mylaunchpad')
md5sums=('SKIP')
backup=('etc/mylaunchpad.conf')

source=('mylaunchpad::git+http://github.com/gaboelnuevo/mylaunchpad')

pkgver() {
  cd "${srcdir}/${_pkgname_simple}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${srcdir}/${_pkgname_simple}"

  if [[ ${_category_icons} = true ]]; then
    git checkout category-icons
  fi

  python2 setup.py install --root "${pkgdir}"
}

# vim:set ts=2 sw=2 et: