ofono-git for pacman 4.1

This commit is contained in:
Daniel Wallace 2013-04-08 13:30:25 -04:00
parent ed9f3c504d
commit b0fb840ce8

View file

@ -3,30 +3,30 @@
plugrel=1
pkgname=ofono-git
pkgver=20110609
pkgver=1.12.195.ga36ffa8
pkgver() {
cd "$srcdir/ofono"
git describe --tags | sed 's/-/./g'
}
epoch=1
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' 'bluez')
depends=('glib2' 'dbus' 'bluez' 'mobile-broadband-provider-info')
makedepends=('git')
_gitroot="git://git.kernel.org/pub/scm/network/ofono/ofono.git"
source=("git://git.kernel.org/pub/scm/network/ofono/ofono.git")
md5sums=('SKIP')
_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 --depth 1 $_gitroot
cd $_gitname
fi
./bootstrap || return 1
./configure --prefix=/usr ||return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
cd "$srcdir/ofono"
./bootstrap
./configure --prefix=/usr
make
}
package(){
cd "$srcdir/ofono"
make DESTDIR="$pkgdir" install
}