1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2024-12-23 01:23:36 +00:00
ocp/PKGBUILD

42 lines
1.2 KiB
Text
Raw Normal View History

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-08-24 02:04:15 +00:00
pkgver=0.2.2
2020-02-05 18:53:22 +00:00
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"
2020-08-24 02:04:15 +00:00
depends=('libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl2' 'adplug' 'libjpeg-turbo' 'libpng' 'freetype2' 'ttf-unifont' 'patch' 'xa')
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}
2020-08-24 02:04:15 +00:00
git+https://github.com/mywave82/timidity.git
git+https://github.com/mywave82/sidplay-residfp-ocp
fix-unifont.diff)
2020-02-05 18:53:22 +00:00
md5sums=('SKIP'
2020-08-24 02:04:15 +00:00
'SKIP'
'SKIP'
'98a6ab1b11da171b118e0cf7b0485e7c')
2020-02-05 18:53:22 +00:00
prepare() {
cd opencubicplayer
git submodule init
git config submodule.playgmi/timidity-git.url $srcdir/timidity
2020-08-24 02:04:15 +00:00
git config submodule.playsid/sidplayfp-git.url $srcdir/sidplay-residfp-ocp
2020-02-05 18:53:22 +00:00
git submodule update
}
2015-06-08 13:54:40 +00:00
build() {
2020-02-05 18:53:22 +00:00
cd opencubicplayer
2020-08-24 02:04:15 +00:00
patch -p1 -i $srcdir/fix-unifont.diff
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
2020-02-05 18:53:22 +00:00
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
}