[arch-commits] Commit in sdl12-compat/repos (2 files)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Mar 18 20:36:18 UTC 2022
Date: Friday, March 18, 2022 @ 20:36:18
Author: jelle
Revision: 1159115
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 1159114, sdl12-compat/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: sdl12-compat/repos/community-testing-x86_64/PKGBUILD (from rev 1159114, sdl12-compat/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-03-18 20:36:18 UTC (rev 1159115)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=sdl12-compat
+pkgver=1.2.52
+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.12.15')
+license=('MIT')
+source=("https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-1.2.52.tar.gz")
+sha256sums=('5bd7942703575554670a8767ae030f7921a0ac3c5e2fd173a537b7c7a8599014')
+
+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"
+}
More information about the arch-commits
mailing list