core/libgme/PKGBUILD
2018-01-19 00:35:30 +01:00

31 lines
779 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libgme
pkgver=0.6.1
pkgrel=2
pkgdesc="Video game music file emulation/playback library"
url="http://game-music-emu.googlecode.com/"
license=('LGPL')
arch=('x86_64')
depends=('gcc-libs')
makedepends=('cmake')
source=("https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$pkgver.tar.bz2"{,.asc})
md5sums=('d399f4a00aece2813e777dface2b6aab'
'SKIP')
validpgpkeys=(5406ECE83665DA9D201D35720BAF0C9C7B6AE9F2) # Michael Pyne <mpyne@kde.org>
build() {
cd "${srcdir}/game-music-emu-${pkgver}"
mkdir build
cd build
msg "Starting build process."
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/game-music-emu-${pkgver}"/build
make DESTDIR="${pkgdir}" install
}