mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
46 lines
997 B
Bash
46 lines
997 B
Bash
# $Id$
|
|
# 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=3
|
|
pkgdesc="Cross-platform NPAPI compatible plugin viewer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://nspluginwrapper.davidben.net/"
|
|
license=('GPL')
|
|
depends=(
|
|
'curl'
|
|
'libxt'
|
|
'gcc-libs'
|
|
'gtk2'
|
|
)
|
|
install="install"
|
|
source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz
|
|
'fix_missing_lib.patch')
|
|
md5sums=('36f3e290fc4ce56f65ee695078961188'
|
|
'00ca2d1ab0d7348e3157cb7b72f30e1a')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
patch -p1 -i "$srcdir/fix_missing_lib.patch"
|
|
|
|
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:
|