blob: 7e9d8b5fed879b41869e9f15e661d4724a0b6635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 60061 2011-12-04 15:24:45Z bluewind $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
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' '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_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:
|