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

Alexander Rødseth arodseth at archlinux.org
Mon Jul 6 23:19:29 UTC 2020


    Date: Monday, July 6, 2020 @ 23:19:28
  Author: arodseth
Revision: 658091

upgpkg: lua-sdl2 2.0.5.6.0-3

Modified:
  lua-sdl2/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-06 23:09:20 UTC (rev 658090)
+++ PKGBUILD	2020-07-06 23:19:28 UTC (rev 658091)
@@ -1,23 +1,18 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 
 pkgname=lua-sdl2
-pkgver=2.0.5.6.0.r16.g272a748
-pkgrel=1
+pkgver=2.0.5.6.0
+pkgrel=3
 _lua=5.3
 pkgdesc='Pure C binding of SDL 2.0 for Lua'
 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=272a748d652c229e9d8c2c749ac74ced00e3ccb3')
+depends=(lua53 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf)
+makedepends=(cmake git ninja)
+source=('git+https://github.com/Tangent128/luasdl2#commit=01a749db3acf300dfd3eee3a6ba38dbe298d1081') # tag: v2.0.5-6.0
 md5sums=('SKIP')
 
-pkgver() {
-  cd ${pkgname/-}
-  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
 build() {
   mkdir -p build
   cd build
@@ -24,7 +19,7 @@
   cmake ../${pkgname/-} \
     -DWITH_LUAVER=${_lua/./} \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWITH_DOCSDIR=share/doc/$pkgname \
+    -DWITH_DOCSDIR="share/doc/$pkgname" \
     -G Ninja
   ninja
 }


More information about the arch-commits mailing list