Fix the copas package: wrong path when copying the license
authorAnders Bergh <anders1@gmail.com>
Mon, 17 Dec 2007 05:25:25 +0100
changeset 3 21b0b0f2b2cd
parent 2 e8ebdcd8bcd0
child 4 946a11dbdb23
Fix the copas package: wrong path when copying the license
sources/copas/PKGBUILD
--- a/sources/copas/PKGBUILD	Mon Dec 17 05:19:32 2007 +0100
+++ b/sources/copas/PKGBUILD	Mon Dec 17 05:25:25 2007 +0100
@@ -1,7 +1,7 @@
 # Contributor: Anders Bergh <anders1@gmail.com>
 pkgname=copas
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua"
 arch=('i686' 'x86_64')
 url="http://www.keplerproject.org/copas/"
@@ -20,7 +20,7 @@
   ln -s /usr/share/lua/5.1/copas/copas.lua "$startdir/pkg/usr/share/lua/copas.lua"
 
   mkdir -p "$startdir/pkg/usr/share/licenses/copas"
-  cp LICENSE "$startdir/pkg/usr/share/licenses/copas"
+  cp $startdir/src/LICENSE "$startdir/pkg/usr/share/licenses/copas"
 }
 
 # vim:set ts=2 sw=2 et: