# maintainer: Neophytos Kolokotronis pkgname=libgme pkgver=0.6.0 pkgrel=1 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=(http://game-music-emu.googlecode.com/files/game-music-emu-${pkgver}.tar.bz2) md5sums=("b98fafb737bc889dc65e7a8b94bd1bf5") 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 }