# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=libgme
pkgver=0.6.3
pkgrel=4
pkgdesc='Video game music file emulation/playback library'
arch=('armv7h')
url='https://github.com/libgme/game-music-emu'
license=('LGPL-2.1-or-later')
depends=('gcc-libs' 'glibc' 'zlib')
makedepends=('cmake' 'git' 'ninja')
source=("git+https://github.com/libgme/game-music-emu.git?signed#tag=$pkgver")
b2sums=('e83e52c259d50e360c2b2878e581410346fc84d5e9479875acdb657fdbe1a3c592672c8237c34dfebb2f960ab57d0d4596fe16655cb96b1d9fc8ddd9a7c39f51')
validpgpkeys=(5406ECE83665DA9D201D35720BAF0C9C7B6AE9F2) # Michael Pyne <mpyne@kde.org>
build() {
cmake -S game-music-emu -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr'
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}