[arch-commits] Commit in lua-sdl2/repos/community-x86_64 (PKGBUILD PKGBUILD)
Allan McRae
allan at gemini.archlinux.org
Mon Apr 25 00:52:59 UTC 2022
Date: Monday, April 25, 2022 @ 00:52:59
Author: allan
Revision: 1189760
archrelease: copy trunk to community-x86_64
Added:
lua-sdl2/repos/community-x86_64/PKGBUILD
(from rev 1189759, lua-sdl2/trunk/PKGBUILD)
Deleted:
lua-sdl2/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-25 00:52:42 UTC (rev 1189759)
+++ PKGBUILD 2022-04-25 00:52:59 UTC (rev 1189760)
@@ -1,32 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-
-pkgname=lua-sdl2
-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=(lua53 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf)
-makedepends=(cmake git ninja)
-source=("git+$url#commit=01a749db3acf300dfd3eee3a6ba38dbe298d1081") # tag: v2.0.5-6.0
-md5sums=('SKIP')
-
-build() {
- mkdir -p build
- cd build
- cmake ../${pkgname/-} \
- -DWITH_LUAVER=${_lua/./} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_DOCSDIR="share/doc/$pkgname" \
- -G Ninja
- ninja
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 luasdl2/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: lua-sdl2/repos/community-x86_64/PKGBUILD (from rev 1189759, lua-sdl2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-25 00:52:59 UTC (rev 1189760)
@@ -0,0 +1,32 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=lua-sdl2
+pkgver=2.0.5.6.0
+pkgrel=4
+_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=(lua53 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf)
+makedepends=(cmake git ninja)
+source=("git+$url#commit=01a749db3acf300dfd3eee3a6ba38dbe298d1081") # tag: v2.0.5-6.0
+md5sums=('SKIP')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../${pkgname/-} \
+ -DWITH_LUAVER=${_lua/./} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_DOCSDIR="share/doc/$pkgname" \
+ -G Ninja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 luasdl2/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list