summaryrefslogtreecommitdiff
path: root/extra/libgme/PKGBUILD
blob: 2e874487d9c5e1278811879ec28988e762d11d57 (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
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

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=('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
  make DESTDIR="${pkgdir}" install
}