Date: Thursday, October 27, 2011 @ 12:11:42 Author: dan Revision: 141261
upgpkg: licenses 2.9-1 Add W3C license, FS#26081 Modified: licenses/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-10-27 15:31:43 UTC (rev 141260) +++ PKGBUILD 2011-10-27 16:11:42 UTC (rev 141261) @@ -2,13 +2,14 @@ # Maintainer: Dan McGee <d...@archlinux.org> pkgname=licenses -pkgver=2.8 +pkgver=2.9 pkgrel=1 pkgdesc="The standard licenses distribution package" arch=('any') license=('custom:none') -url="http://archlinux.org" +url="http://www.archlinux.org/" groups=('base') +makedepends=(links) source=(apache-2.0.txt::http://www.apache.org/licenses/LICENSE-2.0.txt cc-by-3.0.txt cc-by-nc-3.0.txt @@ -34,6 +35,7 @@ ruby-license.txt::http://www.ruby-lang.org/en/LICENSE.txt cpl-1.0.txt python-2.txt + w3c.html::http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 ZopePublicLicense.txt) md5sums=('3b83ef96387f14655fc854ddc3c6bd57' 'ffb24d1bbf8b83d373f0b8edc3feb0c6' @@ -60,6 +62,7 @@ '68d59ff8306e3a9f5f1c01462c77a317' 'f083e41c43db25e18f36c91e57750b64' 'a055911c32fb4ed6e96c453ceaeba857' + 'ce191478ab78ce8b3b6e3aebf48fe60f' 'dc8502850eab9e1ff330a12d7ca18a19') build() { @@ -129,6 +132,12 @@ mkdir RUBY cp $srcdir/ruby-license.txt RUBY/license.txt + mkdir W3C + # Text-ize the HTML version, prune the header and footer garbage + links -dump $srcdir/w3c.html |\ + sed -n -e '/^Footer Navigation/ q' \ + -e '/^ *W3C Software Notice and License/,$ p'> W3C/license.txt + mkdir ZPL cp $srcdir/ZopePublicLicense.txt ZPL/license.txt }