git » sdcc.git » commit afaec89

upd

author Sergej Pupykin
2012-07-31 12:44:14 UTC
committer Sergej Pupykin
2012-07-31 12:44:14 UTC
parent 20b2f82f660f941e1c5a8406dfd7f39d0f7f2865

upd

PKGBUILD +5 -0

diff --git a/PKGBUILD b/PKGBUILD
index 1c0b1dc..62a3042 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,4 +23,9 @@ build() {
 	--libdir=/usr/lib/sdcc
   make
   make install DESTDIR=$pkgdir
+
+  if [ -d $pkgdir/usr/lib/lib ]; then
+    mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
+    rm -rf $pkgdir/usr/lib/lib
+  fi
 }