Skip to content
Snippets Groups Projects
Commit 93670bab authored by alice's avatar alice Committed by alice
Browse files

community/sdl2: move .so symlink to main package

fixes #13679
parent b87e6ec5
No related branches found
No related tags found
1 merge request!33075community/sdl2: move .so symlink to main package
Pipeline #118029 passed
......@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=sdl2
pkgver=2.0.20
pkgrel=2
pkgrel=3
pkgdesc="development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
url="https://www.libsdl.org"
arch="all"
......@@ -94,6 +94,15 @@ package() {
DESTDIR="$pkgdir" ninja -C build install
}
dev() {
default_dev
# move back dev symlink into main package so things can dlopen it
# libSDL2.so -> libSDL2-2.0.so -> libSDL2-2.0.so.version
mv "$subpkgdir"/usr/lib/libSDL2.so "$subpkgdir"/usr/lib/libSDL2-2.0.so \
"$pkgdir"/usr/lib
}
sha512sums="
4889949eaa674948bdb0a01bb2a842a0943b15b08ff27ec0079b0fd4f79d071ffb32488a5a51c12ad7c74ed5fe73b608cdf6336a44c95dae8a0fb3f47d0f01de SDL2-2.0.20.tar.gz
eed5537eaedec6cc2f44d6961d883a07249f2572d8d29015060ec083bc1622645db24bb8771976e86c5afca6d989a1a7b21dd44b2f519799eddd5a196ebdf018 directfb-cflags.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment