1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/libretro-openlara/APKBUILD
2022-04-21 09:26:00 +00:00

28 lines
947 B
Text

# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-openlara
pkgver=0_git20210121
pkgrel=0
_commit="fe88d74673344afc71891717b2474d33f90c165f"
pkgdesc="classic Tomb Raider open-source engine for libretro"
url="https://github.com/libretro/OpenLara"
arch="all"
license="BSD-2-Clause"
makedepends="mesa-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/OpenLara/archive/$_commit.tar.gz"
builddir="$srcdir/OpenLara-$_commit"
options="!check" # No tests
export CFLAGS="$CFLAGS -fcommon"
build() {
make -C src/platform/libretro
}
package() {
install -Dm644 src/platform/libretro/openlara_libretro.so "$pkgdir"/usr/lib/libretro/openlara_libretro.so
}
sha512sums="
d2c8c2d1c3ebb185e101eea79e5773c5d5b1ba45757b2532ffbdfd548cae103666790a414db5bb42ca332b99602b38d9f1dcae4b3bbe7ea120eec3bfda6f20c4 libretro-openlara-fe88d74673344afc71891717b2474d33f90c165f.tar.gz
"