upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-addon-game-libretro-mupen64plus / trunk / PKGBUILD
blobf40f024c76e060779eba585f56052ac5218c89e3
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-game-libretro-mupen64plus
4 pkgver=2.5.0.6
5 _codename=Leia
6 pkgrel=18
7 pkgdesc="Libretro wrapper for Kodi's Game API"
8 arch=('x86_64')
9 url='https://github.com/kodi-game/game.libretro.mupen64plus'
10 license=('GPL')
11 groups=('kodi-addons' 'kodi-addons-game')
12 depends=('kodi-addon-game-libretro' 'libretro-mupen64plus-next')
13 makedepends=('cmake' 'kodi-dev')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/kodi-game/game.libretro.mupen64plus/archive/$pkgver-$_codename.tar.gz")
15 sha512sums=('f8f8902deac7657c060806303e2dd29515ad6d6af196236456e9ef78cc34c1c2020fccdac2b8b7dbf41d3ff4c374dae79211e61d5d9685e0cd661889118effe7')
17 build() {
18     cd "game.libretro.mupen64plus-$pkgver-$_codename"
19     sed -e 's/mupen64plus_libretro/mupen64plus_next_libretro/g' \
20         -i CMakeLists.txt
21     cmake \
22         -DCMAKE_INSTALL_PREFIX=/usr \
23         -DCMAKE_BUILD_TYPE=Release \
24         -DBUILD_SHARED_LIBS=1 \
25         -DUSE_LTO=1 \
26         .
27     make
30 package() {
31     cd "game.libretro.mupen64plus-$pkgver-$_codename"
32         make DESTDIR="$pkgdir/" install