updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hacktray-git / PKGBUILD
blobafc8e45fdb9e0f9a270f5ae1460c53e8a47177da
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=hacktray-git
4 pkgver=20101130
5 pkgrel=1
6 pkgdesc='A simple application launcher for all kind of desktop sessions'
7 arch=('i686' 'x86_64')
8 url="http://opendesktop.org/content/show.php?content=135572"
9 license=('GPL')
10 depends=('qt')
11 makedepends=('git')
12 source=()
13 md5sums=()
15 _gitroot="git://gitorious.org/hacktray/hacktray.git"
16 _gitname="hacktray"
18 build(){
19   cd ${srcdir}
21   if [[ -d $_gitname ]]; then
22         (cd $_gitname && git pull origin)
23   else
24         git clone $_gitroot $_gitname
25   fi
27   cd $_gitname
28   qmake HackTray.pro
29   make
32 package() {
33   cd ${srcdir}/$_gitname
34   make INSTALL_ROOT=${pkgdir} install