diff options
author | Christer Solskogen | 2021-01-14 14:06:30 +0100 |
---|---|---|
committer | Christer Solskogen | 2021-01-14 14:06:30 +0100 |
commit | 29dafc3ff9194037543755ac31def0672ec1139a (patch) | |
tree | 5ad56266bc6239bfb3ab93d74e372461b612adfb /PKGBUILD | |
parent | cd508cf70ea4f5752054d1d2967524d1e0808e54 (diff) | |
download | aur-29dafc3ff9194037543755ac31def0672ec1139a.tar.gz |
Update to 2.0.14 and cleanup the PKGBUILD a bit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -2,7 +2,7 @@ # In order to use this on the Raspberry PI, you must either use the kms or fkms driver. pkgname=sdl2-nox -pkgver=2.0.12 +pkgver=2.0.14 pkgrel=0 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) without X11 support" arch=('x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -16,26 +16,21 @@ conflicts=('sdl2') optdepends=('alsa-lib: ALSA audio driver' 'libpulse: PulseAudio audio driver') source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz") -md5sums=('783b6f2df8ff02b19bb5ce492b99c8ff') - -prepare() { - mkdir build -} +sha512sums=('ebc482585bd565bf3003fbcedd91058b2183e333b9ea566d2f386da0298ff970645d9d25c1aa4459c7c96e9ea839fd1c5f2da0242a56892865b2e456cdd027ee') build() { - cd build - ../SDL2-$pkgver/configure --prefix=/usr \ + cd "SDL2-$pkgver" + ./configure --prefix=/usr \ --enable-sdl-dlopen --enable-video-kmsdrm \ --disable-arts --disable-esd --disable-nas \ --enable-alsa --enable-pulseaudio-shared \ - --disable-video-x11 --disable-video-opengl \ - --disable-input-tslib + --disable-video-x11 --disable-video-opengl make } package() { - cd build + cd "SDL2-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 ../SDL2-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |