diff options
author | root <root@rshg054.dnsready.net> | 2011-12-05 23:15:23 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-05 23:15:23 +0000 |
commit | 55d1e19e71b453a0f47c599f281a2ad2644247d2 (patch) | |
tree | e4988a18e52a5f283c69611807002a1a20c918ed /multilib | |
parent | 392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (diff) |
Mon Dec 5 23:15:23 UTC 2011
Diffstat (limited to 'multilib')
-rw-r--r-- | multilib/nspluginwrapper/PKGBUILD | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/multilib/nspluginwrapper/PKGBUILD b/multilib/nspluginwrapper/PKGBUILD index e9328f90f..7e9d8b5fe 100644 --- a/multilib/nspluginwrapper/PKGBUILD +++ b/multilib/nspluginwrapper/PKGBUILD @@ -1,21 +1,40 @@ -# $Id: PKGBUILD 50786 2011-07-01 07:38:37Z bluewind $ +# $Id: PKGBUILD 60061 2011-12-04 15:24:45Z bluewind $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=nspluginwrapper pkgver=1.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform NPAPI compatible plugin viewer" -arch=('x86_64') +arch=('i686' 'x86_64') url="http://nspluginwrapper.davidben.net/" license=('GPL') -depends=('curl' 'lib32-libxt' 'lib32-gcc-libs' 'gtk2' 'lib32-gtk2') +depends=( + 'curl' + 'libxt' 'lib32-libxt' + 'gcc-libs' 'lib32-gcc-libs' + 'gtk2' 'lib32-gtk2' +) makedepends=('gcc-multilib') install="install" source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz) md5sums=('36f3e290fc4ce56f65ee695078961188') + +if [[ $CARCH == i686 ]]; then + # Strip lib32 etc. on i686 + depends=(${depends[@]/*32-*/}) + makedepends=(${makedepends[@]/*32-*/}) + makedepends=(${makedepends[@]/*-multilib*/}) + optdepends=(${optdepends[@]/*32-*/}) +fi + build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --with-lib32=lib32 --with-lib64=lib + configure_args="" + if [[ $CARCH == x86_64 ]]; then + configure_args="$configure_args --with-lib32=lib32 --with-lib64=lib" + fi + + ./configure $configure_args make -j1 } |