updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pkg++-git / PKGBUILD
bloba73c5d54b905035dd76e982833b61ba4436145c6
1 # Maintainer: Soulou <leo@soulou.fr>
3 pkgname=pkg++-git
4 pkgver=20111005
5 pkgrel=1
6 pkgdesc="Pkg++ is a powerfull packages builder"
7 arch=('i686' 'x86_64')
8 license=('GPL2 | BSD')
9 url="http://devel.upyum.com/pkgxx"
10 depends=('pacman' 'zsh')
11 makedepends=('pkgconfig' 'git')
12 options=('!libtool')
13 source=()
14 md5sums=()
16 _gitroot="git://devel.upyum.com/pkgxx.git"
17 _gitname="pkgxx"
20 build() {
21   cd ${srcdir}
22   msg "Connecting to devel.upyum.com GIT server...."
24   if [ -d ${srcdir}/$_gitname ] ; then
25     cd $_gitname && git pull origin
26     msg "The local files are updated."
27     else
28     git clone $_gitroot
29   fi
31   cd ${srcdir}/$_gitname
32   ./configure --prefix=/usr
33   make
34   make DESTDIR="$pkgdir/" install