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