mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
43 lines
949 B
Bash
43 lines
949 B
Bash
# $Id: PKGBUILD 60062 2011-12-04 15:25:13Z bluewind $
|
|
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - strip lib32, etc. from ARM deps as well as i686
|
|
|
|
pkgname=nspluginwrapper
|
|
pkgver=1.4.4
|
|
pkgrel=2
|
|
pkgdesc="Cross-platform NPAPI compatible plugin viewer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://nspluginwrapper.davidben.net/"
|
|
license=('GPL')
|
|
depends=(
|
|
'curl'
|
|
'libxt'
|
|
'gcc-libs'
|
|
'gtk2'
|
|
)
|
|
makedepends=('gcc-multilib')
|
|
install="install"
|
|
source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('36f3e290fc4ce56f65ee695078961188')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
configure_args=""
|
|
if [[ $CARCH == x86_64 ]]; then
|
|
configure_args="$configure_args --with-lib32=lib32 --with-lib64=lib"
|
|
fi
|
|
|
|
./configure $configure_args
|
|
make -j1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|