2015-06-08 13:54:40 +00:00
|
|
|
# Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
|
|
|
|
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
|
|
|
|
|
|
|
pkgname=ocp
|
2020-02-05 18:53:22 +00:00
|
|
|
pkgver=0.2.1
|
|
|
|
pkgrel=1
|
2015-06-08 13:54:40 +00:00
|
|
|
pkgdesc="Open Cubic Player"
|
|
|
|
arch=('i686' 'x86_64')
|
2020-02-05 18:53:22 +00:00
|
|
|
url="https://github.com/mywave82/opencubicplayer"
|
2015-06-08 13:54:40 +00:00
|
|
|
depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
|
2020-02-05 18:53:22 +00:00
|
|
|
makedepends=('desktop-file-utils')
|
2015-06-08 13:54:40 +00:00
|
|
|
license=('GPL')
|
2020-02-05 18:53:22 +00:00
|
|
|
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
|
|
|
|
git+https://github.com/mywave82/timidity.git)
|
|
|
|
md5sums=('SKIP'
|
|
|
|
'SKIP')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd opencubicplayer
|
|
|
|
git submodule init
|
|
|
|
git config submodule.playgmi/timidity-git.url $srcdir/timidity
|
|
|
|
git submodule update
|
|
|
|
}
|
2015-06-08 13:54:40 +00:00
|
|
|
|
|
|
|
build() {
|
2020-02-05 18:53:22 +00:00
|
|
|
cd opencubicplayer
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
|
|
make DESTDIR=$pkgdir
|
2015-06-08 13:54:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-02-05 18:53:22 +00:00
|
|
|
cd opencubicplayer
|
|
|
|
make DESTDIR=$pkgdir install
|
2015-06-08 13:54:40 +00:00
|
|
|
}
|