updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / nativeclient / PKGBUILD
blob1cff97b0280f1c355486c879e1c80f56672aff73
1 # Contributor: Lex Rivera <x-demon@x-demon.org>
2 pkgname=nativeclient
3 pkgver=20100122
4 pkgrel=1
5 _nacl_id=782a_2010_01_22
6 pkgdesc="Native Client from Google"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/$pkgname/"
9 license=('GPL2')
10 depends=()
11 makedepends=('python')
12 optdepends=()
13 conflicts=()
14 source=(http://build.chromium.org/buildbot/snapshots/nacl_tarballs/nacl_linux_${_nacl_id}.tgz)
15 md5sums=('5ccb4c2b5f04c4037b8cc652ebfb9d5f')
17 build() {
18   cd $srcdir/build/native_client/
19   ./scons
20   mkdir -p ${pkgdir}/usr/lib/mozilla/plugins
21   install -Dm755 scons-out/opt-linux-x86-32/obj/src/trusted/service_runtime/sel_ldr ${pkgdir}/usr/lib/mozilla/plugins
22   install -Dm755 scons-out/opt-linux-x86-32/obj/src/trusted/plugin/libnpGoogleNaClPlugin.so ${pkgdir}/usr/lib/mozilla/plugins
23   install -Dm755 scons-out/opt-linux-x86-32/obj/src/trusted/sandbox/sel_ldr.trace ${pkgdir}/usr/lib/mozilla/plugins
24   install -Dm755 tools/sel_ldr.bash ${pkgdir}/usr/lib/mozilla/plugins
26 # vim:syntax=sh