pmaports/hybris/drihybris/APKBUILD

33 lines
1 KiB
Text
Raw Normal View History

pkgname=drihybris
pkgver=1.0_git20181217
pkgrel=0
_commit="3291c0ff9af4a2568474aa7b1b0a3786818705dc"
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"
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="158dff151e2af840622b81176a94286b57952571226c4d8db3433d3c926f271e088d6a96618cddfab67eea86e9e8a5a0b070b046ff40b8b839f091fa56e78551 drihybris-3291c0ff9af4a2568474aa7b1b0a3786818705dc.tar.gz"