1 # Maintainer: mockfrog <arch AT mockfrog DOT de>
2 # contributor: Côme "MCMic" BERNIGAUD <mcmic@free.fr>
3 # contributor: Marcin "eXine" M. <exine@jun.pl>
5 pkgname=android-ndk-crystax
8 pkgdesc="android C/C++ developer kit with enabled support of C++ exceptions, RTTI and Standard C++ Library"
10 url="http://www.crystax.net/de/android/ndk/6"
13 conflicts=(android-ndk)
14 replaces=(android-ndk)
15 source=(http://www.crystax.net/en/download/android-ndk-r6-crystax-2-linux-x86.tar.bz2)
16 md5sums=('f7d4dd14de0a27dffcd208ff919be98d')
21 install -d "${pkgdir}/opt"
22 install -d "${pkgdir}/etc/profile.d"
23 echo "export PATH=\$PATH:/opt/${pkgname}" > "${pkgdir}/etc/profile.d/${pkgname}.sh"
24 echo "export ANDROID_NDK=/opt/${pkgname}" >> "${pkgdir}/etc/profile.d/${pkgname}.sh"
25 chmod 755 "${pkgdir}/etc/profile.d/${pkgname}.sh"
27 cp -a "${srcdir}/android-ndk-r6-crystax-2" "${pkgdir}/opt/${pkgname}"