--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/EGL/
+-rw-r--r-- root/root usr/include/EGL/egl.h
+-rw-r--r-- root/root usr/include/EGL/eglext.h
+-rw-r--r-- root/root usr/include/EGL/eglplatform.h
+drwxr-xr-x root/root usr/include/GLES/
+-rw-r--r-- root/root usr/include/GLES/gl.h
+-rw-r--r-- root/root usr/include/GLES/glext.h
+-rw-r--r-- root/root usr/include/GLES/glplatform.h
+drwxr-xr-x root/root usr/include/GLES2/
+-rw-r--r-- root/root usr/include/GLES2/gl2.h
+-rw-r--r-- root/root usr/include/GLES2/gl2ext.h
+-rw-r--r-- root/root usr/include/GLES2/gl2platform.h
+drwxr-xr-x root/root usr/include/KHR/
+-rw-r--r-- root/root usr/include/KHR/khrplatform.h
+drwxr-xr-x root/root usr/include/ump/
+-rw-r--r-- root/root usr/include/ump/ump.h
+-rw-r--r-- root/root usr/include/ump/ump_debug.h
+-rw-r--r-- root/root usr/include/ump/ump_osu.h
+-rw-r--r-- root/root usr/include/ump/ump_platform.h
+-rw-r--r-- root/root usr/include/ump/ump_ref_drv.h
+-rw-r--r-- root/root usr/include/ump/ump_uk_types.h
+-rw-r--r-- root/root usr/include/ump/ump_version.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libEGL.so -> libEGL.so.1
+lrwxrwxrwx root/root usr/lib/libEGL.so.1 -> libEGL.so.1.4
+lrwxrwxrwx root/root usr/lib/libEGL.so.1.4 -> libMali.so
+lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1
+lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1
+lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1.1 -> libMali.so
+lrwxrwxrwx root/root usr/lib/libGLESv2.so -> libGLESv2.so.2
+lrwxrwxrwx root/root usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0
+lrwxrwxrwx root/root usr/lib/libGLESv2.so.2.0 -> libMali.so
+-rw-r--r-- root/root usr/lib/libMali.so
+lrwxrwxrwx root/root usr/lib/libUMP.so -> libUMP.so.3
+-rw-r--r-- root/root usr/lib/libUMP.so.3
--- /dev/null
+# Description: Sunxi Mali-400 support libraries.
+# URL: https://github.com/linux-sunxi/sunxi-mali
+# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libdri2 mesa3d
+
+name=sunxi-mali
+version=git
+release=1
+source=()
+
+build() {
+ if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then
+ git clone https://github.com/linux-sunxi/sunxi-mali.git $PKGMK_SOURCE_DIR/$name
+ else
+ cd $PKGMK_SOURCE_DIR/$name && git fetch
+ fi
+ cp -r $PKGMK_SOURCE_DIR/$name $SRC
+
+ mkdir -p $PKG/usr/lib
+
+ cd $SRC/$name
+ git submodule init
+ git submodule update
+ make config ABI=armhf VERSION=r3p0
+ make DESTDIR=$PKG install
+}