mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
26 lines
945 B
Text
26 lines
945 B
Text
# Contributor: David Demelier <markand@malikania.fr>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=libretro-openlara
|
|
pkgver=0_git20200225
|
|
pkgrel=0
|
|
_commit="c7fd002610c551cfbbfa4947ea9c3a2574fe51c5"
|
|
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="64f6faf0a6b751668d7271e82785146a9fee7e66a1878bc13d6c5edb678ae27910d6e2fcd5e8f5d5ecc5a40b6cc3daac48a4242be47c772194c80defb3864ae3 libretro-openlara-c7fd002610c551cfbbfa4947ea9c3a2574fe51c5.tar.gz"
|