pkgname=drihybris pkgver=1.0_git20171130 pkgrel=0 _commit=fbaf21e7cb343e0b7cd29f256ec28c46c01c07b8 pkgdesc="custom DRI3-based Xorg extension for use with libhybris" url="https://github.com/NotKit/drihybris" arch="armhf aarch64" license="MIT" subpackages="$pkgname-doc $pkgname-dev" depends_dev="drihybrisproto" makedepends="autoconf automake libtool util-macros xorg-server-dev libxi-dev drihybrisproto" source="$pkgname-$_commit.tar.gz::https://github.com/NotKit/drihybris/archive/$_commit.tar.gz" builddir="$srcdir"/$pkgname-$_commit build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./autogen.sh \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="273fad45bfee1211195eff8dad979c97edda7440adc6da766346ff727216cad495d01132e20bdabc33b4e95b7420cf4d6c3c64b95ab5020ed5de5f58ad72ceb2 drihybris-fbaf21e7cb343e0b7cd29f256ec28c46c01c07b8.tar.gz"