mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: Kameron Larsen <kroylar@gmail.com>
|
|
# Based on xf86-video-fbturbo-git
|
|
|
|
buildarch=8
|
|
|
|
pkgname=xf86-video-fbturbo-odroid-c2-git
|
|
_gitname=xf86-video-fbturbo
|
|
pkgver=199.f9a6ed7
|
|
pkgrel=2
|
|
pkgdesc="X.org fbturbo video driver for odroid-c2"
|
|
arch=('aarch64')
|
|
url="https://github.com/tnmeyer/xf86-video-fbturbo"
|
|
license=('MIT')
|
|
makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
|
|
conflicts=('xf86-video-fbturbo' 'xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
|
|
options=('!libtool')
|
|
provides=('xf86-video-fbturbo')
|
|
source=('git+https://github.com/tnmeyer/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}/"
|
|
}
|