updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / classiphy-git / PKGBUILD
blobe6977b364a840cd1bbca24d173e45e6376719e3b
1 # Maintainer: Bruce Hsu <brucehsu@gmail.com>
2 pkgname=classiphy-git
3 pkgver=20101211
4 pkgrel=2
5 pkgdesc="A cross platform photo classifying software"
6 arch=('any')
7 makedepends=('git')
8 url="https://github.com/brucehsu/classiphy/wiki"
9 license=('GPL')
10 depends=('qt')
11 install=
12 _gitroot='http://github.com/brucehsu/classiphy.git'
13 _gitname='classiphy'
15 build() {
16     cd "$startdir/src"
17   
18     msg "Connecting to github GIT server...."
19     
20     if [ -d "$startdir/src/$_gitname" ] ; then
21         cd $_gitname && git pull "$_gitroot"
22     else
23         git clone "$_gitroot"
24         cd $_gitname
25     fi
27     qmake PREFIX="/usr" "DEFINES+=PERSONAL_PROFILE"
28     make
29     make INSTALL_ROOT=$pkgdir install
32 # vim:set ts=2 sw=2 et: