Date: Tuesday, October 25, 2022 @ 10:38:12
  Author: jelle
Revision: 1334734

archrelease: copy trunk to community-testing-x86_64

Added:
  sdl12-compat/repos/community-testing-x86_64/
  sdl12-compat/repos/community-testing-x86_64/PKGBUILD
    (from rev 1334733, sdl12-compat/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: sdl12-compat/repos/community-testing-x86_64/PKGBUILD (from rev 1334733, 
sdl12-compat/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-10-25 10:38:12 UTC (rev 1334734)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+
+pkgname=sdl12-compat
+pkgver=1.2.60
+pkgrel=1
+pkgdesc="SDL 1.2 runtime compatibility library using SDL 2.0"
+url="https://github.com/libsdl-org/sdl12-compat";
+depends=('sdl2' 'glu')
+makedepends=('cmake')
+arch=('x86_64')
+conflicts=('sdl')
+provides=('sdl=1:1.2.15+r406+gf1caf909-1')
+replaces=('sdl<=1:1.2.15+r406+gf1caf909')
+license=('MIT')
+source=("https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${pkgver}.tar.gz";)
+sha256sums=('029fa24fe9e0d6a15b94f4737a2d3ed3144c5ef920eb82b4c6b30248eb94518b')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../sdl12-compat-release-${pkgver}
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 "${srcdir}/sdl12-compat-release-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to