updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / addon-sdk / PKGBUILD
blobb70765058b9f068ceeb661d93bba31499ad79470
1 # Contributor: Johannes Dewender  < arch at JonnyJD dot net >
3 pkgname=addon-sdk
4 pkgver=1.4
5 pkgrel=1
6 pkgdesc="SDK to build addons for Mozilla products (formerly jetpack)"
7 url="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/"
8 arch=('any')
9 license=('BSD' 'MIT' 'GPL2' 'CCPL:by' 'CCPL:by-sa')
10 depends=('python2')
11 optdepends=('firefox' 'firefox-nightly')
12 makedepends=()
13 conflicts=()
14 replaces=()
15 backup=()
16 source=("https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-${pkgver}.tar.gz")
17 install='addon-sdk.install'
18 md5sums=('2c61800f72fdc39a9eaf10518fe36802')
20 build() {
21   cd "${srcdir}/${pkgname}-${pkgver}"
22   grep -Rl python . | xargs sed -ri 's/([^!]|^)python(\s|$)/\1python2\2/g'
25 package() {
26   mkdir "${pkgdir}/opt"
27   cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}"
30 # vim:set ts=2 sw=2 et: