PKGBUILDs/alarm/xf86-video-fbturbo-git/PKGBUILD

39 lines
1.1 KiB
Bash
Raw Normal View History

2013-11-16 18:29:43 +00:00
# Maintainer: smotocel69 <smotocel69@gmail.com>
# Contribuitor: Georges Discry <georges at discry dot be>
pkgname=xf86-video-fbturbo-git
_gitname=xf86-video-fbturbo
pkgver=199.f9a6ed7
pkgrel=2
2013-11-16 18:29:43 +00:00
pkgdesc="X.org MALI video driver"
arch=('armv7h')
url="https://github.com/ssvb/xf86-video-fbturbo"
license=('MIT')
2017-01-12 19:00:34 +00:00
makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
2013-11-16 18:29:43 +00:00
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}/"
}