Date: Tuesday, December 11, 2012 @ 17:02:30 Author: eric Revision: 173159
upgpkg: lua 5.2.1-3 Add license file (close FS#33044) Added: lua/trunk/LICENSE Modified: lua/trunk/PKGBUILD ----------+ LICENSE | 30 ++++++++++++++++++++++++++++++ PKGBUILD | 8 +++++--- 2 files changed, 35 insertions(+), 3 deletions(-) Added: LICENSE =================================================================== --- LICENSE (rev 0) +++ LICENSE 2012-12-11 22:02:30 UTC (rev 173159) @@ -0,0 +1,30 @@ +License + +Lua is free software distributed under the terms of the MIT license +reproduced below; it may be used for any purpose, including commercial +purposes, at absolutely no cost without having to ask us. The only +requirement is that if you do use Lua, then you should give us credit +by including the appropriate copyright notice somewhere in your +product or its documentation. + + Copyright © 1994–2012 Lua.org, PUC-Rio. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-12-11 21:59:43 UTC (rev 173158) +++ PKGBUILD 2012-12-11 22:02:30 UTC (rev 173159) @@ -5,7 +5,7 @@ pkgname=lua pkgver=5.2.1 -pkgrel=2 +pkgrel=3 pkgdesc='A powerful light-weight programming language designed for extending applications' arch=('i686' 'x86_64') url='http://www.lua.org/' @@ -13,10 +13,11 @@ license=('MIT') options=('!makeflags' '!emptydirs') source=("http://www.lua.org/ftp/$pkgname-$pkgver.tar.gz" - 'liblua.so.patch' 'lua.pc') + 'liblua.so.patch' 'lua.pc' 'LICENSE') md5sums=('ae08f641b45d737d12d30291a5e5f6e3' 'bdc663c7b82ffc0b5df67611621fb625' - 'e7ba6c2b695b0b84a5ea0cbff5fc9067') + 'e7ba6c2b695b0b84a5ea0cbff5fc9067' + '0e2bd67b909b9ff673da844ca3480df2') build() { cd $pkgname-$pkgver @@ -38,6 +39,7 @@ # Install the documentation install -d "$pkgdir/usr/share/doc/lua" install -m644 doc/*.{gif,png,css,html} "$pkgdir/usr/share/doc/lua" + install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=4 sw=4 et: