[arch-commits] Commit in lua-posix/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Fri Jun 27 18:30:54 UTC 2014


    Date: Friday, June 27, 2014 @ 20:30:54
  Author: arodseth
Revision: 113675

upgpkg: lua-posix 32-3

Modified:
  lua-posix/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-27 16:05:06 UTC (rev 113674)
+++ PKGBUILD	2014-06-27 18:30:54 UTC (rev 113675)
@@ -7,13 +7,13 @@
 
 pkgname=lua-posix
 pkgver=32
-pkgrel=2
+pkgrel=3
 pkgdesc='POSIX library for Lua'
 arch=('x86_64' 'i686')
 url='https://github.com/luaposix/luaposix'
-license=('GPL' 'LGPL')
+license=('MIT')
 depends=('lua')
-makedepends=('lua' 'git' 'help2man' 'ldoc')
+makedepends=('git' 'help2man' 'ldoc')
 options=('!makeflags')
 source=("$pkgname::git://github.com/luaposix/luaposix.git#tag=v$pkgver")
 md5sums=('SKIP')
@@ -37,7 +37,10 @@
 }
 
 package() {
-  make -C "$pkgname" DESTDIR="$pkgdir" install
+  cd "$pkgname"
+
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list