summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-fbturbo-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xf86-video-fbturbo-git/PKGBUILD')
-rw-r--r--pcr/xf86-video-fbturbo-git/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/pcr/xf86-video-fbturbo-git/PKGBUILD b/pcr/xf86-video-fbturbo-git/PKGBUILD
index ada55efd5..47fc292f6 100644
--- a/pcr/xf86-video-fbturbo-git/PKGBUILD
+++ b/pcr/xf86-video-fbturbo-git/PKGBUILD
@@ -5,17 +5,20 @@
pkgname=xf86-video-fbturbo-git
_gitname=xf86-video-fbturbo
pkgver=199.f9a6ed7
-pkgrel=1
+pkgrel=2
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')
+backup=('etc/X11/xorg.conf.d/99-fbturbo.conf')
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')
+source=('git+https://github.com/ssvb/xf86-video-fbturbo'
+ '99-fbturbo.conf')
+md5sums=('SKIP'
+ '61f1c9f7cf878ebc19a09fbe70d24ab3')
pkgver() {
cd "${SRCDEST}/${_gitname}"
@@ -31,8 +34,8 @@ build() {
package() {
cd "${srcdir}/${_gitname}"
- mkdir -p "${pkgdir}/etc/X11/xorg.conf.d/"
- cp "xorg.conf" "${pkgdir}/etc/X11/xorg.conf.d/99-fbturbo.conf"
+ install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
+ install -m644 "${srcdir}/99-fbturbo.conf" "${pkgdir}/etc/X11/xorg.conf.d"
make DESTDIR="${pkgdir}/" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"