core/libgme/PKGBUILD

29 lines
659 B
Bash
Raw Normal View History

2013-06-20 18:54:44 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libgme
2013-06-20 18:54:44 +08:00
pkgver=0.6.0
pkgrel=1
pkgdesc="Video game music file emulation/playback library"
url="http://game-music-emu.googlecode.com/"
license=('LGPL')
2013-06-20 18:54:44 +08:00
arch=('x86_64')
depends=('gcc-libs')
makedepends=('cmake')
2013-06-20 18:54:44 +08:00
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
2013-06-20 18:54:44 +08:00
}
package() {
cd "${srcdir}/game-music-emu-${pkgver}"/build
make DESTDIR="${pkgdir}" install
2013-06-20 18:54:44 +08:00
}