From 0ec724258a8c8214cd80ab56d923795df11e4d52 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 16 Nov 2013 18:29:43 +0000 Subject: [PATCH] added aur/xf86-video-fbturbo-git --- aur/xf86-video-fbturbo-git/PKGBUILD | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 aur/xf86-video-fbturbo-git/PKGBUILD diff --git a/aur/xf86-video-fbturbo-git/PKGBUILD b/aur/xf86-video-fbturbo-git/PKGBUILD new file mode 100644 index 000000000..a883bcdec --- /dev/null +++ b/aur/xf86-video-fbturbo-git/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: smotocel69 +# Contribuitor: Georges Discry + +pkgname=xf86-video-fbturbo-git +_gitname=xf86-video-fbturbo +pkgver=188.c395869 +pkgrel=3 +pkgdesc="X.org MALI video driver" +arch=('armv7h') +url="https://github.com/ssvb/xf86-video-fbturbo" +license=('MIT') +depends=('libump-git') +makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=14') +conflicts=('xorg-server<1.14.0' 'X-ABI-VIDEODRV_VERSION<14' 'X-ABI-VIDEODRV_VERSION>=15') +options=('!libtool') +groups=('xorg-drivers' 'xorg') +provides=('xf86-video-fbturbo') +source=('git+https://github.com/ssvb/xf86-video-fbturbo') +md5sums=('SKIP') + +pkgver() { + cd "${SRCDEST}/${_gitname}" + echo $(git rev-list --count master).$(git rev-parse --short master) +} + +build() { + cd "${srcdir}/${_gitname}" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${_gitname}" + mkdir -p "${pkgdir}/etc/X11/xorg.conf.d/" + cp "xorg.conf" "${pkgdir}/etc/X11/xorg.conf.d/99-fbturbo.conf" + make DESTDIR="${pkgdir}/" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +}