# Maintainer: Natanael Copa pkgname=xf86-video-apm pkgver=1.3.0 pkgrel=0 pkgdesc="Alliance ProMotion video driver" url="https://xorg.freedesktop.org/" arch="all" license="MIT" subpackages="$pkgname-doc" depends= makedepends="xorg-server-dev libxi-dev util-macros xorgproto" source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="1b10a2d1f886c228629487946fda1ff1766fe0c00657ba8cc1b4cf3bcd7cf66716a0875c90e6f7b7178cf3b48a78a4301bfad1714ee37c63aa7ae9c498ab4f8b xf86-video-apm-1.3.0.tar.bz2"