summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {