summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarazok2020-12-10 15:28:37 +0100
committerBarazok2020-12-10 15:28:37 +0100
commitd95c13e442de3781f950d1d09fd3baca649dc5f4 (patch)
tree731f453debd1a98eb26d2730aa10a1774c59df9c
parentce74624da2933a6347f4cda99e121e7726c4ee04 (diff)
downloadaur-d95c13e442de3781f950d1d09fd3baca649dc5f4.tar.gz
Fix post transaction
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--libmlv0.install5
3 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1971cc130d3..965be64247bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index bd7cffae52c6..d3b2c1cf38ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}