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 /PKGBUILD | |
parent | 803edb3da884791e5e73af219d005e2db8b3339f (diff) | |
download | aur-umview-mod-umlwip-svn.tar.gz |
fix in linking
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 |