summaryrefslogtreecommitdiff
path: root/pcr/ocp/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-05 18:45:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-05 18:45:52 -0400
commit532f991fcd33ced9c1831c3eac32b40bbe38fc47 (patch)
treed916dc670143a21783dc49f0dfaa93a960c948b7 /pcr/ocp/PKGBUILD
parent622fd5d8456c277f10830387f6123d150f0e7b36 (diff)
downloadabslibre-532f991fcd33ced9c1831c3eac32b40bbe38fc47.tar.gz
abslibre-532f991fcd33ced9c1831c3eac32b40bbe38fc47.tar.bz2
abslibre-532f991fcd33ced9c1831c3eac32b40bbe38fc47.zip
add pcr/ocp and dependencies
Diffstat (limited to 'pcr/ocp/PKGBUILD')
-rw-r--r--pcr/ocp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/ocp/PKGBUILD b/pcr/ocp/PKGBUILD
new file mode 100644
index 000000000..59c38a052
--- /dev/null
+++ b/pcr/ocp/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Mikael Eriksson <mikael_eriksson@miffe.org>
+# Contributor (AUR): berkus [berkus_at_madfire_dot_net]
+
+pkgname=ocp
+pkgver=0.1.21
+pkgrel=4
+pkgdesc="Open Cubic Player"
+arch=('i686' 'x86_64')
+url="http://stian.cubic.org/project-ocp.php"
+depends=('libsidplay' 'libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl' 'adplug')
+makedepends=('texinfo' 'desktop-file-utils')
+license=('GPL') # GPLv2+
+source=(http://sourceforge.net/projects/opencubicplayer/files/ocp-$pkgver/ocp-$pkgver.tar.bz2)
+md5sums=('558a6eacfadfd9c60c97a6e9c7f83f47')
+install=ocp.install
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make -j1 DESTDIR="$pkgdir"
+}
+
+package() {
+ depends+=('hicolor-icon-theme' 'xdg-utils')
+ cd "$srcdir/$pkgname-$pkgver"
+ make -j1 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
+ touch "$pkgdir"/usr/share/ocp/ultradir/.keep
+}