summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-fbturbo-git
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2016-07-04 23:49:14 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2016-07-05 00:21:02 -0500
commitf7d4dca7d7401d1f0b82503d87fb098de8892b4f (patch)
treec15abf6318dbcebd8660cbf89f18fde35a87cd4d /pcr/xf86-video-fbturbo-git
parent95818f8f88366422a074ad57a2979b328a85eb86 (diff)
downloadabslibre-f7d4dca7d7401d1f0b82503d87fb098de8892b4f.tar.gz
abslibre-f7d4dca7d7401d1f0b82503d87fb098de8892b4f.tar.bz2
abslibre-f7d4dca7d7401d1f0b82503d87fb098de8892b4f.zip
xf86-video-{amdgpu,ati,fbturbo-git,vmware}: add new packages to [pcr]
Diffstat (limited to 'pcr/xf86-video-fbturbo-git')
-rw-r--r--pcr/xf86-video-fbturbo-git/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/xf86-video-fbturbo-git/PKGBUILD b/pcr/xf86-video-fbturbo-git/PKGBUILD
new file mode 100644
index 000000000..ada55efd5
--- /dev/null
+++ b/pcr/xf86-video-fbturbo-git/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer (Arch ARM): smotocel69
+# Contribuitor (Arch ARM): Georges Discry
+# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
+
+pkgname=xf86-video-fbturbo-git
+_gitname=xf86-video-fbturbo
+pkgver=199.f9a6ed7
+pkgrel=1
+pkgdesc="X.org MALI video driver"
+arch=('armv7h')
+url="https://github.com/ssvb/xf86-video-fbturbo"
+license=('MIT')
+makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20')
+conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
+options=('!libtool')
+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}/"
+}
+