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

Alexander Rødseth arodseth at archlinux.org
Mon Mar 18 11:08:53 UTC 2019


    Date: Monday, March 18, 2019 @ 11:08:52
  Author: arodseth
Revision: 442441

upgpkg: lua-sdl2 v2.0.5_6.0-3

Modified:
  lua-sdl2/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-18 10:30:43 UTC (rev 442440)
+++ PKGBUILD	2019-03-18 11:08:52 UTC (rev 442441)
@@ -1,16 +1,16 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 
 pkgname=lua-sdl2
 pkgver=v2.0.5_6.0
-pkgrel=2
+pkgrel=3
 _lua=5.3
 pkgdesc='Pure C binding of SDL 2.0 for Lua'
-arch=('x86_64')
+arch=(x86_64)
 url='https://github.com/Tangent128/luasdl2'
-license=('MIT')
-depends=('lua' 'sdl2_gfx' 'sdl2_image' 'sdl2_mixer' 'sdl2_net' 'sdl2_ttf')
-makedepends=('lua' 'git' 'sdl2_gfx' 'sdl2_image' 'sdl2_mixer' 'sdl2_net' 'sdl2_ttf' 'cmake' 'ninja')
-source=('git+https://github.com/Tangent128/luasdl2#commit=98602738ba87b2c7f1ce299134d0f10b49092350')
+license=(MIT)
+depends=(lua sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf)
+makedepends=(lua git sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf cmake ninja)
+source=('git+https://github.com/Tangent128/luasdl2#commit=272a748d652c229e9d8c2c749ac74ced00e3ccb3')
 md5sums=('SKIP')
 
 build() {
@@ -19,6 +19,7 @@
   cmake ../luasdl2 \
     -DWITH_LUAVER=${_lua/./} \
     -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_DOCSDIR=share/doc/$pkgname \
     -G Ninja
   ninja
 }
@@ -26,7 +27,6 @@
 package() {
   DESTDIR="$pkgdir" ninja -C build install
   install -Dm644 luasdl2/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  mv "$pkgdir/usr/share/docs/Lua-SDL2" "$pkgdir/usr/share/docs/$pkgname"
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list