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

55 lines
1.6 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
2021-06-24 07:28:59 +00:00
pkgver=0.2.90
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:07:55 +00:00
depends=('libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl2' 'adplug' 'libjpeg-turbo' 'libpng' 'freetype2' 'ttf-unifont')
makedepends=('desktop-file-utils' 'git' 'xa' 'patch')
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
2021-06-24 07:28:59 +00:00
git+https://github.com/mywave82/sidplay-residfp-ocp.git
git+https://github.com/libsidplayfp/exsid-driver.git
git+https://github.com/mywave82/resid.git
2020-08-24 02:04:15 +00:00
fix-unifont.diff)
2020-02-05 18:53:22 +00:00
md5sums=('SKIP'
2020-08-24 02:04:15 +00:00
'SKIP'
'SKIP'
2021-06-24 07:28:59 +00:00
'SKIP'
'SKIP'
'9eb83ffbabec3f1dd66f66c9100a9c08')
2020-02-05 18:53:22 +00:00
prepare() {
cd opencubicplayer
2021-06-24 07:28:59 +00:00
patch -p1 -i "$srcdir/fix-unifont.diff"
git submodule init
git config submodule.playgmi/timidity-git.url "$srcdir/timidity"
git config submodule.playsid/sidplayfp-git.url "$srcdir/sidplay-residfp-ocp"
git submodule update
cd playsid/libsidplayfp-git
2020-02-05 18:53:22 +00:00
git submodule init
2021-06-24 07:28:59 +00:00
git config submodule.src/builders/exsid-builder/driver.url "$srcdir/exsid-driver"
git config submodule.src/builders/resid-builder/resid.url "$srcdir/resid"
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
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
2021-06-24 07:28:59 +00:00
make DESTDIR="$pkgdir"
2015-06-08 13:54:40 +00:00
}
package() {
2020-02-05 18:53:22 +00:00
cd opencubicplayer
2021-06-24 07:28:59 +00:00
make DESTDIR="$pkgdir" install
2015-06-08 13:54:40 +00:00
}