mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
Do not remove git in source on rebuild.
This commit is contained in:
parent
7fdb48b4bc
commit
9252e5f077
1 changed files with 17 additions and 8 deletions
|
@ -1,11 +1,13 @@
|
|||
# Maintainer: Mike Brown <mbrown@archlinuxarm.org>
|
||||
# Maintainer: Erik Andersson <erik.h.andersson@gmail.com>
|
||||
|
||||
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg
|
||||
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from the Chromium OS git.
|
||||
# Official upstream is at
|
||||
# http://git.linaro.org/gitweb?p=arm/xorg/driver/xf86-video-armsoc.git;a=summary
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname="xf86-video-armsoc-git"
|
||||
pkgver=20130214
|
||||
pkgver=20130220
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
||||
|
@ -18,19 +20,26 @@ _gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.g
|
|||
_gitname="xf86-video-armsoc"
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
msg "Connecting to git server...."
|
||||
cd $srcdir
|
||||
rm -rf ${_gitname}
|
||||
git clone $_gitroot
|
||||
cd ${_gitname}
|
||||
|
||||
if [[ -d "$_gitname" ]]; then
|
||||
cd "$_gitname" && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone "$_gitroot" "$_gitname"
|
||||
cd "$_gitname"
|
||||
fi
|
||||
msg "GIT checkout done or server timeout"
|
||||
|
||||
msg "Starting build..."
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
pkgdesc="armsoc framebuffer driver for X"
|
||||
pkgdesc="armsoc framebuffer driver for X from chromium os git"
|
||||
|
||||
cd "${srcdir}/${pkgname}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue