1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2024-11-22 04:16:28 +00:00
ocp/PKGBUILD
Mikael Eriksson 7f3d64e2ef Fix deps
2020-08-24 04:07:55 +02:00

41 lines
1.2 KiB
Bash

# Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
pkgname=ocp
pkgver=0.2.2
pkgrel=1
pkgdesc="Open Cubic Player"
arch=('i686' 'x86_64')
url="https://github.com/mywave82/opencubicplayer"
depends=('libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl2' 'adplug' 'libjpeg-turbo' 'libpng' 'freetype2' 'ttf-unifont')
makedepends=('desktop-file-utils' 'git' 'xa' 'patch')
license=('GPL')
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
git+https://github.com/mywave82/timidity.git
git+https://github.com/mywave82/sidplay-residfp-ocp
fix-unifont.diff)
md5sums=('SKIP'
'SKIP'
'SKIP'
'98a6ab1b11da171b118e0cf7b0485e7c')
prepare() {
cd opencubicplayer
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
}
build() {
cd opencubicplayer
patch -p1 -i $srcdir/fix-unifont.diff
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
make DESTDIR=$pkgdir
}
package() {
cd opencubicplayer
make DESTDIR=$pkgdir install
}