mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Maintainer: Erik Andersson <erik.h.andersson@gmail.com>
|
|
|
|
# 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=20130220
|
|
pkgrel=1
|
|
arch=('armv7h')
|
|
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
|
license=('GPL2')
|
|
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
|
options=('!libtool')
|
|
replaces=('xf86-video-armsoc')
|
|
|
|
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git"
|
|
_gitname="xf86-video-armsoc"
|
|
|
|
build() {
|
|
cd "$srcdir"
|
|
msg "Connecting to git server...."
|
|
|
|
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 from chromium os git"
|
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|