PKGBUILDs/alarm/xf86-video-armsoc-git/PKGBUILD

39 lines
852 B
Bash
Raw Normal View History

2013-02-19 17:43:17 +00:00
# Maintainer: Mike Brown <mbrown@archlinuxarm.org>
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg
buildarch=4
pkgname="xf86-video-armsoc-git"
pkgver=20130214
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() {
msg "Connecting to git server...."
cd $srcdir
rm -rf ${_gitname}
git clone $_gitroot
cd ${_gitname}
./autogen.sh
./configure --prefix=/usr
make
}
package() {
pkgdesc="armsoc framebuffer driver for X"
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}