mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
Added ofono-git
This commit is contained in:
parent
508643e019
commit
5d0ab8d84b
1 changed files with 30 additions and 0 deletions
30
aur/ofono-git/PKGBUILD
Normal file
30
aur/ofono-git/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Andries Radu <admiral0 AT tuxfamily.org>
|
||||
|
||||
pkgname=ofono-git
|
||||
pkgver=20110428
|
||||
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')
|
||||
_gitroot="git://git.kernel.org/pub/scm/network/ofono/ofono.git"
|
||||
_gitname="ofono"
|
||||
build() {
|
||||
cd $srcdir
|
||||
msg "Connecting to git.kernel.org GIT server...."
|
||||
|
||||
if [ -d ${srcdir}/$_gitname ] ; then
|
||||
cd $_gitname && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone $_gitroot
|
||||
cd $_gitname
|
||||
fi
|
||||
./bootstrap || return 1
|
||||
./configure --prefix=/usr ||return 1
|
||||
make || return 1
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
}
|
||||
|
Loading…
Reference in a new issue