Skip to content

Instantly share code, notes, and snippets.

@mxmilkiib
Last active January 15, 2020 02:32
Show Gist options
  • Select an option

  • Save mxmilkiib/efbbc88a1b59aa2d3c6b5fa1eeae89f3 to your computer and use it in GitHub Desktop.

Select an option

Save mxmilkiib/efbbc88a1b59aa2d3c6b5fa1eeae89f3 to your computer and use it in GitHub Desktop.
PKGBUILD for wayland-mali - untested - to clean up
pkgname=wayland-mali
pkgver=1.17.0
pkgrel=1
pkgdesc='A computer display server protocol'
arch=('aarch64')
url='https://wayland.freedesktop.org/'
license=('MIT')
depends=('glibc' 'libffi' 'expat' 'libxml2' 'mesa-git-mali')
conflicts=('wayland')
provides=('wayland')
makedepends=('libxslt' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl')
validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
'C0066D7DB8E9AC6844D728715E54498E697F11D7') # Derek Foreman
source=("https://mirrors.dotsrc.org/manjaro-arm/stable/aarch64/extra/wayland-1.17.0-1-aarch64.pkg.tar.xz"{,.sig})
sha1sums=('SKIP' 'SKIP')
prepare() {
cd $srcdir
}
build() {
cd $srcdir
}
package() {
cd "$srcdir/usr/lib"
rm libwayland-egl.so libwayland-egl.so.1 libwayland-egl.so.1.0.0
ln -s libMali.so libwayland-egl.so
ln -s libMali.so libwayland-egl.so.1
ln -s libMali.so libwayland-egl.so.1.0.0
cp -a "$srcdir/usr" "$pkgdir/"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment