community/nspluginwrapper fixes

This commit is contained in:
Kevin Mihelich 2012-07-29 19:11:12 +00:00
parent 1a24c140dd
commit 1b16f07f17

View file

@ -4,8 +4,6 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - strip lib32, etc. from ARM deps as well as i686
plugrel=1
pkgname=nspluginwrapper
pkgver=1.4.4
pkgrel=2
@ -15,23 +13,15 @@ url="http://nspluginwrapper.davidben.net/"
license=('GPL')
depends=(
'curl'
'libxt' 'lib32-libxt'
'gcc-libs' 'lib32-gcc-libs'
'gtk2' 'lib32-gtk2'
'libxt'
'gcc-libs'
'gtk2'
)
makedepends=('gcc-multilib')
install="install"
source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz)
md5sums=('36f3e290fc4ce56f65ee695078961188')
if [[ $CARCH == i686 || $CARCH == arm || $CARCH == armv7h ]]; then
# Strip lib32 etc. on i686 and ARM
depends=(${depends[@]/*32-*/})
makedepends=(${makedepends[@]/*32-*/})
makedepends=(${makedepends[@]/*-multilib*/})
optdepends=(${optdepends[@]/*32-*/})
fi
build() {
cd "$srcdir/$pkgname-$pkgver"