# Maintainer: Manuel Rotter # Modified by OpenPogo pkgname=licenses pkgver=1.0 pkgrel=1 pkgdesc="The standard licenses distribution package" arch=('arm') license=('custom:none') groups=('base') url="http://archlinux.org" source=(cc-by-3.0.txt cc-by-nc-3.0.txt cc-by-nc-nd-3.0.txt cc-by-nc-sa-3.0.txt cc-by-nd-3.0.txt cc-by-sa-3.0.txt cc-readme.txt cddl-1.0.txt http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt http://www.gnu.org/licenses/gpl-3.0.txt http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt http://www.gnu.org/licenses/lgpl.txt http://www.gnu.org/licenses/fdl.txt perlartistic.txt cpl-1.0.txt python-2.txt) md5sums=('ffb24d1bbf8b83d373f0b8edc3feb0c6' '682a5e3b03510ba46c4f566478c871bc' '166b65b71e44630b436bfe937c4c0b73' '89bca4a2dde8b7d39c27a1dc24078932' '2502517d13d8136fffaf248489ad0870' '5367190077e12a7f55403d531ef3998e' '019bc72509b18a804f0ea8fd2bab1932' '6cb35f3976cd093011967fa1abbce386' '751419260aa954499f7abaabaa882bbe' 'd32239bcb673463ab874e80d47fae504' '243b725d71bb5df4a1e5920b344b86ad' 'b52f2d57d10c4f7ee67a7eb9615d5d24' '10b9de612d532fdeeb7fe8fcd1435cc6' 'd09c120ca7db95ef2aeecec0cb08293b' 'f083e41c43db25e18f36c91e57750b64' '614f4f550910d90428a567cfaafe62a9') build() { cd $startdir/pkg mkdir -p opt/share/licenses/common cd opt/share/licenses/common mkdir CCPL cp $startdir/src/cc-by-3.0.txt CCPL/ cp $startdir/src/cc-by-nc-3.0.txt CCPL/ cp $startdir/src/cc-by-nc-nd-3.0.txt CCPL/ cp $startdir/src/cc-by-nc-sa-3.0.txt CCPL/ cp $startdir/src/cc-by-nd-3.0.txt CCPL/ cp $startdir/src/cc-by-sa-3.0.txt CCPL/ cp $startdir/src/cc-readme.txt CCPL/ mkdir CDDL cp $startdir/src/cddl-1.0.txt CDDL/license.txt mkdir CPL cp $startdir/src/cpl-1.0.txt CPL/license.txt mkdir {GPL,GPL3} cp $startdir/src/gpl-2.0.txt GPL/license.txt cp $startdir/src/gpl-3.0.txt GPL3/license.txt ln -s GPL GPL2 mkdir FDL cp $startdir/src/fdl.txt FDL/license.txt mkdir {LGPL,LGPL3} cp $startdir/src/lgpl-2.1.txt LGPL/license.txt cp $startdir/src/lgpl.txt LGPL3/license.txt ln -s LGPL LGPL2 mkdir PerlArtistic cp $startdir/src/perlartistic.txt PerlArtistic/license.txt mkdir PSF cp $startdir/src/python-2.txt PSF/license.txt }