diff --git a/aur/z2-sdl-profile/PKGBUILD b/aur/z2-sdl-profile/PKGBUILD new file mode 100644 index 000000000..9b030e6ee --- /dev/null +++ b/aur/z2-sdl-profile/PKGBUILD @@ -0,0 +1,13 @@ +# Maintainer: Kai Uwe Jesussek + +pkgname=z2-sdl-profile +pkgver=1.0 +pkgrel=1 +pkgdesc="profile script for changing SDL configs" +arch=('arm') +license=('GPL') +source=('z2.sh') +md5sums=('0a3395f629009fed584295e6b1b0bba0') +package() { + install -m711 -D ${srcdir}/z2.sh ${pkgdir}/etc/profile.d/z2.sh +} diff --git a/aur/z2-sdl-profile/z2.sh b/aur/z2-sdl-profile/z2.sh new file mode 100755 index 000000000..087bdf5ad --- /dev/null +++ b/aur/z2-sdl-profile/z2.sh @@ -0,0 +1,4 @@ +#!/bin/sh +export SDL_AUDIODRIVER=alsa +export SDL_NOMOUSE=1 +export SDL_VIDEO_FBCON_ROTATION="CCW"