blob: 47fc292f6a2485defaeed0d8d321ea3ee5d2d427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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=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'
'99-fbturbo.conf')
md5sums=('SKIP'
'61f1c9f7cf878ebc19a09fbe70d24ab3')
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}"
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}/"
}
|