mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
789 B
Bash
31 lines
789 B
Bash
|
# Contributor: Andries Radu <admiral0 AT tuxfamily.org>
|
||
|
|
||
|
pkgname=libfsotransport-git
|
||
|
pkgver=20090921
|
||
|
pkgrel=1
|
||
|
pkgdesc="FSO utility lib"
|
||
|
arch=('arm')
|
||
|
url="http://www.freesmartphone.org"
|
||
|
license=('GPL')
|
||
|
depends=(glib2)
|
||
|
makedepends=(vala vala-misc-git)
|
||
|
_gitroot="git://git.freesmartphone.org/cornucopia.git"
|
||
|
_gitname="cornucopia"
|
||
|
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
|
||
|
cd libfsotransport
|
||
|
./autogen.sh
|
||
|
./configure --prefix=/usr
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir install || return 1
|
||
|
}
|