blob: 59c38a052d8016e8408170d78c669179351c84ea (
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
30
31
32
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer (AUR): Mikael Eriksson <mikael_eriksson@miffe.org>
# Contributor (AUR): berkus [berkus_at_madfire_dot_net]
pkgname=ocp
pkgver=0.1.21
pkgrel=4
pkgdesc="Open Cubic Player"
arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php"
depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
makedepends=('texinfo' 'desktop-file-utils')
license=('GPL') # GPLv2+
source=(http://sourceforge.net/projects/opencubicplayer/files/ocp-$pkgver/ocp-$pkgver.tar.bz2)
md5sums=('558a6eacfadfd9c60c97a6e9c7f83f47')
install=ocp.install
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc
make -j1 DESTDIR="$pkgdir"
}
package() {
depends+=('hicolor-icon-theme' 'xdg-utils')
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install
install -m755 playopl/playopl.so "$pkgdir"/usr/lib/ocp-0.1.21/playopl.so
install -m755 playopl/opltype.so "$pkgdir"/usr/lib/ocp-0.1.21/autoload/30-opltype.so
rm "$pkgdir"/usr/share/info/dir
touch "$pkgdir"/usr/share/ocp/ultradir/.keep
}
|