PKGBUILDs/extra/libgsm0710-git/PKGBUILD

31 lines
693 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Contributor: Andries Radu <admiral0 AT tuxfamily.org>
pkgname=libgsm0710-git
pkgver=20090921
pkgrel=1
pkgdesc="GSM 07.10 Server Engine"
arch=('arm')
url="http://www.freesmartphone.org"
license=('GPL')
depends=(glib2)
makedepends=(vala vala-misc-git)
_gitroot="git://git.freesmartphone.org/libgsm0710.git"
_gitname="libgsm0710"
build() {
cd ${srcdir}
msg "Connecting to git.freesmartphone.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
./autogen.sh
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
}