fixed missing dep for aur/ofono-git, set git clone depth

This commit is contained in:
Kevin Mihelich 2011-04-29 11:30:30 -04:00
parent 65aeb5e5aa
commit d0c960530b

View file

@ -1,15 +1,16 @@
# Maintainer: Andries Radu <admiral0 AT tuxfamily.org>
pkgname=ofono-git
pkgver=20110428
plugrel=1
pkgname=ofono-git
pkgver=20110429
pkgrel=1
pkgdesc="A high-level D-Bus API for use by telephony applications of any license."
arch=('arm' 'i686' 'x86_64')
url="http://www.freesmartphone.org"
license=('GPL')
depends=('glib2' 'dbus')
makedepends=('git' 'gcc' 'make')
depends=('glib2' 'dbus' 'bluez')
makedepends=('git')
_gitroot="git://git.kernel.org/pub/scm/network/ofono/ofono.git"
_gitname="ofono"
build() {
@ -20,7 +21,7 @@ build() {
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
git clone --depth 1 $_gitroot
cd $_gitname
fi
./bootstrap || return 1