PKGBUILDs/extra/nspluginwrapper/PKGBUILD

47 lines
997 B
Bash
Raw Permalink Normal View History

2014-07-12 19:45:18 +00:00
# $Id$
2011-12-05 18:46:37 +00:00
# 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
2014-07-12 19:45:18 +00:00
pkgrel=3
2011-12-05 18:46:37 +00:00
pkgdesc="Cross-platform NPAPI compatible plugin viewer"
arch=('i686' 'x86_64')
url="http://nspluginwrapper.davidben.net/"
license=('GPL')
depends=(
'curl'
2012-07-29 19:11:12 +00:00
'libxt'
'gcc-libs'
'gtk2'
2011-12-05 18:46:37 +00:00
)
install="install"
2014-07-12 19:45:18 +00:00
source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz
'fix_missing_lib.patch')
md5sums=('36f3e290fc4ce56f65ee695078961188'
'00ca2d1ab0d7348e3157cb7b72f30e1a')
2011-12-05 18:46:37 +00:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2014-07-12 19:45:18 +00:00
patch -p1 -i "$srcdir/fix_missing_lib.patch"
2011-12-05 18:46:37 +00:00
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: