summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattéo Delabre2018-11-11 00:48:08 +0100
committerMattéo Delabre2018-11-11 00:48:08 +0100
commit5f51579ba795138423c244726a1bf49519a5751f (patch)
tree116a0021518bc317fca6c1186926173165ca0c38
parent17431c36392ee2bba83e3fcfe41ba3fa75c119fd (diff)
downloadaur-5f51579ba795138423c244726a1bf49519a5751f.tar.gz
Fix case mismatch issue on library name
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e873a4698aa..a31904c6631 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sfgui
pkgdesc = Graphical user interface (GUI) library for programs that use SFML for rendering
pkgver = 0.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/TankOs/SFGUI
arch = x86_64
license = ZLIB
diff --git a/PKGBUILD b/PKGBUILD
index 1ee9db56dd0..d15f1199a57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sfgui
pkgver=0.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Graphical user interface (GUI) library for programs that use SFML for rendering"
arch=(x86_64)
url="https://github.com/TankOs/SFGUI"
@@ -26,6 +26,9 @@ package() {
cd build
make DESTDIR="$pkgdir/" install
+ # fix case mismatch issue on library name
+ mv $pkgdir/usr/lib/lib{${pkgname^^},${pkgname}}.so
+
cd "../${pkgname^^}-$pkgver"
install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/$pkgname/LICENSE.md
install -Dm644 FONT.LICENSE.md $pkgdir/usr/share/licenses/$pkgname/FONT.LICENSE.md