Commit ab765b26 authored by Damian Kurek's avatar Damian Kurek Committed by Leo
Browse files

testing/kodi-game-libretro-mame2003: new aport

https://github.com/kodi-game/game.libretro.mame2003
MAME 2003 GameClient for Kodi
parent 89deba57
# Contributor: Damian Kurek <starfire24680@gmail.com>
# Maintainer: Damian Kurek <starfire24680@gmail.com>
pkgname=kodi-game-libretro-mame2003
pkgver=0.78.0.29
_realname=Leia
pkgrel=0
pkgdesc="MAME 2003 GameClient for Kodi"
options="!check" # no test suite
url="https://github.com/kodi-game/game.libretro.mame2003"
arch="x86 x86_64 aarch64" # kodi
license="custom"
makedepends="cmake kodi-dev"
depends="kodi-game-libretro libretro-mame2003"
source="$pkgname-$pkgver.tar.gz::https://github.com/kodi-game/game.libretro.mame2003/archive/$pkgver-$_realname.tar.gz"
builddir="$srcdir/game.libretro.mame2003-$pkgver-$_realname"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
rm -r "$pkgdir"/usr/lib/kodi/addons/game.libretro.mame2003/game.libretro.mame2003.so
ln -s /usr/lib/libretro/mame2003_libretro.so \
"$pkgdir"/usr/lib/kodi/addons/game.libretro.mame2003/game.libretro.mame2003.so
}
sha512sums="81f46272040f2c520cd1b31b55a0fc04179958bd0e44047b08df13f1a3c2cb0e8d746887119b6be0e9c3ffc98c28a3c201285b4dcad77233cd7d0b377234f0a3 kodi-game-libretro-mame2003-0.78.0.29.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment