updated on Thu Jan 12 00:00:55 UTC 2012
[aur-mirror.git] / ocp / PKGBUILD
blob29ee02be87dea14521e199cdb1d7b68cece30a8d
1 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
2 # Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
4 pkgname=ocp
5 pkgver=0.1.21
6 pkgrel=3
7 pkgdesc="Open Cubic Player"
8 arch=('i686' 'x86_64')
9 url="http://stian.cubic.org/project-ocp.php"
10 depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
11 makedepends=('texinfo' 'desktop-file-utils')
12 license=('GPL')
13 source=(http://sourceforge.net/projects/opencubicplayer/files/ocp-$pkgver/ocp-$pkgver.tar.bz2)
14 md5sums=('558a6eacfadfd9c60c97a6e9c7f83f47')
15 install=ocp.install
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   ./configure --prefix=/usr --sysconfdir=/etc
20   make -j1 DESTDIR=$pkgdir install
21   install -m755 playopl/playopl.so $pkgdir/usr/lib/ocp-0.1.21/playopl.so
22   install -m755 playopl/opltype.so $pkgdir/usr/lib/ocp-0.1.21/autoload/30-opltype.so
23   rm $pkgdir/usr/share/info/dir