summaryrefslogtreecommitdiff
path: root/extra/libgme/PKGBUILD
blob: ddc3d764b33258458f6b7f38fc92950b0a38f84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname=libgme
pkgver=0.6.0
pkgrel=2
pkgdesc="Video game music file emulation/playback library"
url="http://game-music-emu.googlecode.com/"
license=('LGPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs')
makedepends=('cmake')
source=("ftp://ftp.archlinux.org/other/game-music-emu/game-music-emu-${pkgver}.tar.xz")
md5sums=('b72bc337ea4bd6dab7f0288ed4cd598e')

build() {
  cd "${srcdir}/game-music-emu-${pkgver}"
  mkdir build
  cd build

  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/game-music-emu-${pkgver}/build"
  make DESTDIR="${pkgdir}" install
}