diff options
author | Antonio Cardace | 2015-10-11 02:28:50 +0200 |
---|---|---|
committer | Antonio Cardace | 2015-10-11 02:28:50 +0200 |
commit | 5a3e079450328214e087e9c3c89c5aad98758e0b (patch) | |
tree | ad8ba04dc4e05013dcc07ab3f0fcd801723e1cf9 | |
parent | 803edb3da884791e5e73af219d005e2db8b3339f (diff) | |
download | aur-5a3e079450328214e087e9c3c89c5aad98758e0b.tar.gz |
fix in linking
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | umview-mod-umlwip-svn.install | 13 |
3 files changed, 22 insertions, 5 deletions
@@ -18,8 +18,10 @@ pkgbase = umview-mod-umlwip-svn replaces = umview-mod-umlwip-svn source = svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os source = umview-mod-umlwip-svn.diff + source = umview-mod-umlwip-svn.install md5sums = SKIP md5sums = 15fd402dc118bf82c65e4c31d808f530 + md5sums = 981ba81585fa1fbadb632c3a05e803a9 pkgname = umview-mod-umlwip-svn @@ -14,9 +14,11 @@ provides=("$pkgname=$pkgver") conflicts=("$pkgname") replaces=("$pkgname") source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os" - "${pkgname}.diff") + "${pkgname}.diff" + "${pkgname}.install") md5sums=("SKIP" - "15fd402dc118bf82c65e4c31d808f530") + "15fd402dc118bf82c65e4c31d808f530" + "981ba81585fa1fbadb632c3a05e803a9") pkgver() { cd "$srcdir/xmview-os" @@ -33,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-mod-umlwip-svn.install b/umview-mod-umlwip-svn.install new file mode 100644 index 000000000000..85ec5f8b2744 --- /dev/null +++ b/umview-mod-umlwip-svn.install @@ -0,0 +1,13 @@ +post_install() { + set -e + if [ "$CARCH" == "x86_64" ]; then + libtool --finish /usr/lib/umview/modules + else + libtool --finish /usr/lib32/umview/modules + fi +} + +post_remove() { + set -e + ldconfig +} |