diff options
-rw-r--r-- | libre/licenses-libre/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/mozilla-addon-sdk/PKGBUILD | 33 |
2 files changed, 51 insertions, 6 deletions
diff --git a/libre/licenses-libre/PKGBUILD b/libre/licenses-libre/PKGBUILD index 64acec522..7ca0036bb 100644 --- a/libre/licenses-libre/PKGBUILD +++ b/libre/licenses-libre/PKGBUILD @@ -3,9 +3,10 @@ # Maintainer: fauno <fauno@kiwwwi.com.ar> # Maintainer: Márcio Silva <coadde@parabola.nu> # Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: Luke Shumaker <lukeshu@sbcglobal.net> pkgname=licenses-libre -pkgver=20130203 +pkgver=20140516 pkgrel=1.1 pkgdesc="The standard licenses distribution package" arch=('any') @@ -15,7 +16,6 @@ groups=('base') provides=("licenses=${pkgver}") conflicts=('licenses') replaces=('licenses') -makedepends=(links) source=(apache-2.0.txt::http://www.apache.org/licenses/LICENSE-2.0.txt cc-by-3.0.txt cc-by-sa-3.0.txt @@ -31,6 +31,7 @@ source=(apache-2.0.txt::http://www.apache.org/licenses/LICENSE-2.0.txt http://www.gnu.org/licenses/fdl-1.3.txt http://www.latex-project.org/lppl.txt mpl-1.1.txt::http://www.mozilla.org/MPL/1.1/index.txt + mpl-2.0.txt::http://www.mozilla.org/MPL/2.0/index.txt perlartistic.txt http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt php-3.0.txt::http://www.php.net/license/3_0.txt @@ -38,6 +39,7 @@ source=(apache-2.0.txt::http://www.apache.org/licenses/LICENSE-2.0.txt cpl-1.0.txt python-2.txt w3c.txt + wtfpl-2.txt::http://www.wtfpl.net/txt/copying/ ZopePublicLicense.txt) md5sums=('3b83ef96387f14655fc854ddc3c6bd57' 'ffb24d1bbf8b83d373f0b8edc3feb0c6' @@ -53,14 +55,16 @@ md5sums=('3b83ef96387f14655fc854ddc3c6bd57' '24ea4c7092233849b4394699333b5c56' '10b9de612d532fdeeb7fe8fcd1435cc6' '9f4337828d782bdea41f03dd2ad1b808' - 'bfe1f75d606912a4111c90743d6c7325' + 'b7426de1c630b269dc95ba20ea82a290' + '815ca599c9df247a0c7f619bab123dad' 'd09c120ca7db95ef2aeecec0cb08293b' 'b4a94da2a1f918b217ef5156634fc9e0' 'a45bb1bbeed9e26b26c5763df1d3913d' - 'f24b942d957112d759762054b6e7cf34' + '837b32593517ae48b9c3b5c87a5d288c' 'f083e41c43db25e18f36c91e57750b64' 'a055911c32fb4ed6e96c453ceaeba857' '6f2095b5d61770740852873b195a4d21' + '8365d07beeb5f39d87e846dca3ae7b64' 'dc8502850eab9e1ff330a12d7ca18a19') package() { @@ -111,8 +115,12 @@ package() { mkdir LPPL cp "$srcdir"/lppl.txt LPPL/license.txt - mkdir MPL - cp "$srcdir"/mpl-1.1.txt MPL/license.txt + mkdir MPL1.1 + cp "$srcdir"/mpl-1.1.txt MPL1.1/license.txt + ln -s MPL1.1 MPL + + mkdir MPL2 + cp "$srcdir"/mpl-2.0.txt MPL2/license.txt mkdir PerlArtistic cp "$srcdir"/perlartistic.txt PerlArtistic/license.txt @@ -129,6 +137,10 @@ package() { mkdir W3C cp "$srcdir"/w3c.txt W3C/license.txt + mkdir WTFPL2 + cp "$srcdir"/wtfpl-2.txt WTFPL2/license.txt + ln -s WTFPL2 WTFPL + mkdir ZPL cp "$srcdir"/ZopePublicLicense.txt ZPL/license.txt } diff --git a/pcr/mozilla-addon-sdk/PKGBUILD b/pcr/mozilla-addon-sdk/PKGBUILD new file mode 100644 index 000000000..65c998b9a --- /dev/null +++ b/pcr/mozilla-addon-sdk/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Contributor (AUR): Johannes Dewender <arch@JonnyJD.net> +# Contributor (AUR): trashstar + +_pkgname=addon-sdk +pkgname=mozilla-addon-sdk +pkgver=1.16 +pkgdesc="SDK to build add-ons for Mozilla products (formerly jetpack)" +url="https://developer.mozilla.org/en-US/Add-ons/SDK" +license=('MPL2') + +pkgrel=1 +arch=('any') +depends=('python2') + +source=("https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/${_pkgname}-${pkgver}.tar.gz") +md5sums=('08388bee155b5f950b4c0fe2ed8dfccf') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + grep -rl python . | xargs sed -ri \ + -e 's/^(#!.*|\s*)python(\s|$)/\1python2\2/' \ + -e 's/(\$ |`)python /python2 /' \ + -e 's/python -m/python2 -m/' +} + +package() { + install -d "${pkgdir}/opt" "$pkgdir/usr/bin" + cp -r "${srcdir}/${_pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}" + ln -srT "$pkgdir/opt/${pkgname}/bin/cfx" "$pkgdir/usr/bin/cfx" +} + +# vim:set ts=2 sw=2 et: |