mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
35 lines
972 B
Bash
35 lines
972 B
Bash
|
pkgname=xf86-video-fbdev-damage
|
||
|
pkgver=0.4.2
|
||
|
pkgrel=0
|
||
|
pkgdesc="X.org framebuffer video driver with DAMAGE support"
|
||
|
arch=(arm)
|
||
|
license=('custom')
|
||
|
url="http://xorg.freedesktop.org/"
|
||
|
depends=('glibc')
|
||
|
makedepends=('xorg-server-devel>=1.11.99.903')
|
||
|
conflicts=('xorg-server<1.11.99.903'
|
||
|
'xf86-video-fbdev')
|
||
|
groups=('xorg-drivers' 'xorg')
|
||
|
options=('!libtool')
|
||
|
source=("${url}/releases/individual/driver/xf86-video-fbdev-${pkgver}.tar.bz2"
|
||
|
'damage.patch')
|
||
|
sha1sums=('c8562f997d56c9fec50df6ca9892f39f43ff4c2c'
|
||
|
'3d51830e043f5986138a1ca241ce3300dd8530b4')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/xf86-video-fbdev-${pkgver}"
|
||
|
|
||
|
# add Plugable's DAMAGE patch
|
||
|
patch -Np1 -i "${srcdir}/damage.patch"
|
||
|
chmod +x autogen.sh
|
||
|
./autogen.sh
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/xf86-video-fbdev-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||
|
}
|