# Maintainer: Natanael Copa pkgname=xf86-video-r128 pkgver=6.12.1 pkgrel=2 pkgdesc="ATI Rage128 video driver" url="https://xorg.freedesktop.org" arch="all" license="MIT" subpackages="$pkgname-doc" makedepends=" expat-dev libdrm-dev libxi-dev mesa-dev util-macros xorg-server-dev xorgproto " source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.xz" build() { export CFLAGS="${CFLAGS/-fno-plt}" export CXXFLAGS="${CXXFLAGS/-fno-plt}" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-dri make } check() { make check } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums=" 18b2408fe68161c32f84c7147717f8e6c6377e81e9d59e2f098843c54cd0ae757aab5059568da8c71ef38100807d56ee22447417c236c1b3deea292bb676e700 xf86-video-r128-6.12.1.tar.xz "