diff --git a/alarm/xf86-video-armsoc-git/PKGBUILD b/alarm/xf86-video-armsoc-git/PKGBUILD new file mode 100644 index 000000000..93f2faf7f --- /dev/null +++ b/alarm/xf86-video-armsoc-git/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Mike Brown + +# 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 +}