author | Dan McGee
<dan@archlinux.org> 2011-10-27 16:11:42 UTC |
committer | Dan McGee
<dan@archlinux.org> 2011-10-27 16:11:42 UTC |
parent | cee404f4eedef83bba282dc4750928597f6acd30 |
PKGBUILD | +11 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index 6ed36e4..99376c7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,14 @@ # Maintainer: Dan McGee <dan@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 @@ -33,6 +34,7 @@ source=(apache-2.0.txt::http://www.apache.org/licenses/LICENSE-2.0.txt 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' @@ -59,6 +61,7 @@ md5sums=('3b83ef96387f14655fc854ddc3c6bd57' '68d59ff8306e3a9f5f1c01462c77a317' 'f083e41c43db25e18f36c91e57750b64' 'a055911c32fb4ed6e96c453ceaeba857' + 'ce191478ab78ce8b3b6e3aebf48fe60f' 'dc8502850eab9e1ff330a12d7ca18a19') build() { @@ -128,6 +131,12 @@ build() { 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 }