diff options
author | Barazok | 2020-12-10 15:28:37 +0100 |
---|---|---|
committer | Barazok | 2020-12-10 15:28:37 +0100 |
commit | d95c13e442de3781f950d1d09fd3baca649dc5f4 (patch) | |
tree | 731f453debd1a98eb26d2730aa10a1774c59df9c | |
parent | ce74624da2933a6347f4cda99e121e7726c4ee04 (diff) | |
download | aur-d95c13e442de3781f950d1d09fd3baca649dc5f4.tar.gz |
Fix post transaction
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | libmlv0.install | 5 |
3 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = libmlv0 pkgdesc = The MLV library is a simplified multimedia library. This library is ideal for students who are new to C programming and want to add graphic and sound effects to their programs. pkgver = 2.0.2 - pkgrel = 2 + pkgrel = 3 url = http://www-igm.univ-mlv.fr/~boussica/mlv/api/French/html/index.html install = libmlv0.install arch = any @@ -1,7 +1,7 @@ # Maintainer: Barazok <barazok.blackrocks@gmail.com> pkgname=libmlv0 pkgver=2.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="The MLV library is a simplified multimedia library. This library is ideal for students who are new to C programming and want to add graphic and sound effects to their programs." arch=('any') url="http://www-igm.univ-mlv.fr/~boussica/mlv/api/French/html/index.html" diff --git a/libmlv0.install b/libmlv0.install index 663f4567dbb2..4c2683431c16 100644 --- a/libmlv0.install +++ b/libmlv0.install @@ -1,9 +1,10 @@ post_install() { - ldconfig + [ -f /usr/lib/libSDL_gfx.so.15 ] && rm /usr/lib/libSDL_gfx.so.15 ln -s /usr/lib/libSDL_gfx.so.16.9.1 /usr/lib/libSDL_gfx.so.15 + ldconfig } post_remove() { + [ -f /usr/lib/libSDL_gfx.so.15 ] && rm /usr/lib/libSDL_gfx.so.15 ldconfig - rm /usr/lib/libSDL_gfx.so.15 } |