git » licenses.git » commit ac917ac

Fix startdir references

author Dan McGee
2010-06-08 16:36:51 UTC
committer Dan McGee
2010-06-08 16:36:51 UTC
parent 004d18f41fe82a8746e76fefbfc2353cca2c7fe2

Fix startdir references

PKGBUILD +26 -26

diff --git a/PKGBUILD b/PKGBUILD
index 85f614e..4e4d110 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -60,67 +60,67 @@ md5sums=('3b83ef96387f14655fc854ddc3c6bd57'
          'dc8502850eab9e1ff330a12d7ca18a19')
 
 build() {
-  cd $startdir/pkg
+  cd $pkgdir
   mkdir -p usr/share/licenses/common
   cd usr/share/licenses/common
 
   mkdir APACHE
-  cp $startdir/src/apache-2.0.txt APACHE/license.txt
+  cp $srcdir/apache-2.0.txt APACHE/license.txt
 
   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/
+  cp $srcdir/cc-by-3.0.txt CCPL/
+  cp $srcdir/cc-by-nc-3.0.txt CCPL/
+  cp $srcdir/cc-by-nc-nd-3.0.txt CCPL/
+  cp $srcdir/cc-by-nc-sa-3.0.txt CCPL/
+  cp $srcdir/cc-by-nd-3.0.txt CCPL/
+  cp $srcdir/cc-by-sa-3.0.txt CCPL/
+  cp $srcdir/cc-readme.txt CCPL/
 
   mkdir CDDL
-  cp $startdir/src/cddl-1.0.txt CDDL/license.txt
+  cp $srcdir/cddl-1.0.txt CDDL/license.txt
 
   mkdir CPL
-  cp $startdir/src/cpl-1.0.txt CPL/license.txt
+  cp $srcdir/cpl-1.0.txt CPL/license.txt
 
   mkdir EPL
-  cp $startdir/src/eclipse-1.0.txt EPL/license.txt
+  cp $srcdir/eclipse-1.0.txt EPL/license.txt
 
   mkdir {GPL2,GPL3}
-  cp $startdir/src/gpl-2.0.txt GPL2/license.txt
-  cp $startdir/src/gpl-3.0.txt GPL3/license.txt
+  cp $srcdir/gpl-2.0.txt GPL2/license.txt
+  cp $srcdir/gpl-3.0.txt GPL3/license.txt
   ln -s GPL2 GPL
 
   mkdir {FDL1.2,FDL1.3}
-  cp $startdir/src/fdl-1.2.txt FDL1.2/license.txt
-  cp $startdir/src/fdl-1.3.txt FDL1.3/license.txt
+  cp $srcdir/fdl-1.2.txt FDL1.2/license.txt
+  cp $srcdir/fdl-1.3.txt FDL1.3/license.txt
   ln -s FDL1.2 FDL
 
   mkdir {LGPL2.1,LGPL3}
-  cp $startdir/src/lgpl-2.1.txt LGPL2.1/license.txt
-  cp $startdir/src/lgpl-3.0.txt LGPL3/license.txt
+  cp $srcdir/lgpl-2.1.txt LGPL2.1/license.txt
+  cp $srcdir/lgpl-3.0.txt LGPL3/license.txt
   ln -s LGPL2.1 LGPL
 
   mkdir LPPL
-  cp $startdir/src/lppl.txt LPPL/license.txt
+  cp $srcdir/lppl.txt LPPL/license.txt
 
   mkdir MPL
-  cp $startdir/src/MPL-1.1.txt MPL/license.txt
+  cp $srcdir/MPL-1.1.txt MPL/license.txt
 
   mkdir PerlArtistic
-  cp $startdir/src/perlartistic.txt PerlArtistic/license.txt
+  cp $srcdir/perlartistic.txt PerlArtistic/license.txt
 
   mkdir PHP
-  cp $startdir/src/php-3.0.txt PHP/license.txt
+  cp $srcdir/php-3.0.txt PHP/license.txt
   
   mkdir PSF
-  cp $startdir/src/python-2.txt PSF/license.txt
+  cp $srcdir/python-2.txt PSF/license.txt
 
   mkdir RALINK
-  cp $startdir/src/LICENSE.ralink-firmware.txt RALINK/license.txt
+  cp $srcdir/LICENSE.ralink-firmware.txt RALINK/license.txt
 
   mkdir RUBY
-  cp $startdir/src/ruby-license.txt RUBY/license.txt
+  cp $srcdir/ruby-license.txt RUBY/license.txt
 
   mkdir ZPL
-  cp $startdir/src/ZopePublicLicense.txt ZPL/license.txt
+  cp $srcdir/ZopePublicLicense.txt ZPL/license.txt
 }