1 # Contributor: Johannes Dewender < arch at JonnyJD dot net >
6 pkgdesc="SDK to build addons for Mozilla products (formerly jetpack)"
7 url="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/"
9 license=('BSD' 'MIT' 'GPL2' 'CCPL:by' 'CCPL:by-sa')
11 optdepends=('firefox' 'firefox-nightly')
16 source=("https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-${pkgver}.tar.gz")
17 install='addon-sdk.install'
18 md5sums=('2c61800f72fdc39a9eaf10518fe36802')
21 cd "${srcdir}/${pkgname}-${pkgver}"
22 grep -Rl python . | xargs sed -ri 's/([^!]|^)python(\s|$)/\1python2\2/g'
27 cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}"
30 # vim:set ts=2 sw=2 et: