updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / addon-sdk / PKGBUILD
blobcf7dc2f59747cae6b356a24f72ddfd5a164d7c49
1 # Maintainer: Somebody <somebody[at]foo[dot]tld>
2 pkgname=addon-sdk
3 pkgver=1.0
4 pkgrel=1
5 pkgdesc="Mozilla Add-on SDK to build addons in Mozilla products (formerly jetpack)"
6 url="https://addons.mozilla.org/en-US/developers/docs/sdk/1.0/"
7 arch=('x86_64' 'i686')
8 license=('MPLv1.1')
9 depends=('python2')
10 optdepends=('firefox' 'firefox-nighlty')
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 source=("https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-${pkgver}.tar.gz")
16 install='install'
17 md5sums=('167180ba9203e45698d561df0f00c206')
19 build() {
20   cd "${srcdir}/${pkgname}-${pkgver}"
21   grep -Rl python . | xargs sed -ri 's/([^!]|^)python(\s|$)/\1python2\2/g'
24 package() {
25   mkdir "${pkgdir}/opt"
26   mv "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}"
29 # vim:set ts=2 sw=2 et: