mirror of
https://aur.archlinux.org/ocp.git
synced 2024-11-22 04:16:28 +00:00
0.2.1
This commit is contained in:
parent
3c686977ef
commit
e1c7ba248a
3 changed files with 27 additions and 40 deletions
14
.SRCINFO
14
.SRCINFO
|
@ -1,13 +1,11 @@
|
||||||
pkgbase = ocp
|
pkgbase = ocp
|
||||||
pkgdesc = Open Cubic Player
|
pkgdesc = Open Cubic Player
|
||||||
pkgver = 0.1.21
|
pkgver = 0.2.1
|
||||||
pkgrel = 7
|
pkgrel = 1
|
||||||
url = http://stian.cubic.org/project-ocp.php
|
url = https://github.com/mywave82/opencubicplayer
|
||||||
install = ocp.install
|
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL
|
license = GPL
|
||||||
makedepends = texinfo
|
|
||||||
makedepends = desktop-file-utils
|
makedepends = desktop-file-utils
|
||||||
depends = libsidplay
|
depends = libsidplay
|
||||||
depends = libxxf86vm
|
depends = libxxf86vm
|
||||||
|
@ -18,8 +16,10 @@ pkgbase = ocp
|
||||||
depends = flac
|
depends = flac
|
||||||
depends = sdl
|
depends = sdl
|
||||||
depends = adplug
|
depends = adplug
|
||||||
source = http://sourceforge.net/projects/opencubicplayer/files/ocp-0.1.21/ocp-0.1.21.tar.bz2
|
source = git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.1
|
||||||
md5sums = 558a6eacfadfd9c60c97a6e9c7f83f47
|
source = git+https://github.com/mywave82/timidity.git
|
||||||
|
md5sums = SKIP
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = ocp
|
pkgname = ocp
|
||||||
|
|
||||||
|
|
34
PKGBUILD
34
PKGBUILD
|
@ -2,29 +2,33 @@
|
||||||
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
||||||
|
|
||||||
pkgname=ocp
|
pkgname=ocp
|
||||||
pkgver=0.1.21
|
pkgver=0.2.1
|
||||||
pkgrel=7
|
pkgrel=1
|
||||||
pkgdesc="Open Cubic Player"
|
pkgdesc="Open Cubic Player"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://stian.cubic.org/project-ocp.php"
|
url="https://github.com/mywave82/opencubicplayer"
|
||||||
depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
|
depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
|
||||||
makedepends=('texinfo' 'desktop-file-utils')
|
makedepends=('desktop-file-utils')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
source=(http://sourceforge.net/projects/opencubicplayer/files/ocp-$pkgver/ocp-$pkgver.tar.bz2)
|
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
|
||||||
md5sums=('558a6eacfadfd9c60c97a6e9c7f83f47')
|
git+https://github.com/mywave82/timidity.git)
|
||||||
install=ocp.install
|
md5sums=('SKIP'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd opencubicplayer
|
||||||
|
git submodule init
|
||||||
|
git config submodule.playgmi/timidity-git.url $srcdir/timidity
|
||||||
|
git submodule update
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd opencubicplayer
|
||||||
sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*|6.*|7.*|8.*)" configure
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc
|
./configure --prefix=/usr --sysconfdir=/etc
|
||||||
make -j1 DESTDIR=$pkgdir
|
make DESTDIR=$pkgdir
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd opencubicplayer
|
||||||
make -j1 DESTDIR=$pkgdir install
|
make 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
|
|
||||||
}
|
}
|
||||||
|
|
17
ocp.install
17
ocp.install
|
@ -1,17 +0,0 @@
|
||||||
## arg 1: the new package version
|
|
||||||
post_install() {
|
|
||||||
test -x /usr/bin/gtk-update-icon-cache && /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
|
|
||||||
}
|
|
||||||
|
|
||||||
## arg 1: the new package version
|
|
||||||
## arg 2: the old package version
|
|
||||||
post_upgrade() {
|
|
||||||
test -x /usr/bin/gtk-update-icon-cache && /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
|
|
||||||
}
|
|
||||||
|
|
||||||
## arg 1: the old package version
|
|
||||||
post_remove() {
|
|
||||||
test -x /usr/bin/gtk-update-icon-cache && /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
Loading…
Reference in a new issue