summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Cardace2015-10-11 02:11:14 +0200
committerAntonio Cardace2015-10-11 02:11:14 +0200
commit7dd4c9b639e2dbc462f9ffca6984c9129583a2b2 (patch)
tree5c230ffb5c84ab80f64646fac1523c2ecd3d1ab4
parente421bd86066dc00f91f4f0737e472089f5e185e2 (diff)
downloadaur-7dd4c9b639e2dbc462f9ffca6984c9129583a2b2.tar.gz
fix in linking
-rw-r--r--PKGBUILD6
-rw-r--r--umview-svn.install8
2 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 30a7fe9868c..37865e83d4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,16 +35,16 @@ build(){
cd "$srcdir/xmview-os"
autoreconf -i &> /dev/null
if [ "$CARCH" == "x86_64" ]; then
- ./configure --prefix="${pkgdir}/usr" --disable-static
+ ./configure --prefix="/usr" --disable-static
else
- ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static
+ ./configure --prefix="/usr" --libdir="/usr/lib32" --disable-static
fi
make
}
package() {
cd "$srcdir/xmview-os"
- make install
+ make DESTDIR="$pkgdir" install
if [ "$CARCH" == "x86_64" ]; then
rm -rf ${pkgdir}/usr/lib/libumlib*
else
diff --git a/umview-svn.install b/umview-svn.install
index dc2ebedcdc5..f3777853d23 100644
--- a/umview-svn.install
+++ b/umview-svn.install
@@ -1,6 +1,12 @@
post_install() {
set -e
- ldconfig
+ if [ "$CARCH" == "x86_64" ]; then
+ libtool --finish /usr/lib
+ libtool --finish /usr/lib/umview/modules
+ else
+ libtool --finish /usr/lib32
+ libtool --finish /usr/lib32/umview/modules
+ fi
}
post_remove() {