mirror of
https://aur.archlinux.org/ocp-git.git
synced 2025-06-27 17:04:27 -04:00
Initial import
This commit is contained in:
commit
6acb873e14
3 changed files with 97 additions and 0 deletions
45
PKGBUILD
Normal file
45
PKGBUILD
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
||||
_name=ocp
|
||||
pkgname=ocp-git
|
||||
pkgver=0.1.22.r62.3a44284
|
||||
pkgrel=1
|
||||
pkgdesc="A music file player for Linux, Unix, DOS and Windows 95-ME, XP."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://stian.cubic.org/project-ocp.php"
|
||||
license=('GPL')
|
||||
depends=('hicolor-icon-theme'
|
||||
'libxpm'
|
||||
'libxxf86vm')
|
||||
optdepends=('adplug: for OPL formats support'
|
||||
'alsa-lib: for ALSA output'
|
||||
'flac: for FLAC audio support'
|
||||
'libmad: for MPEG audio support'
|
||||
'libsidplay: for SID music support'
|
||||
'libvorbis: for Vorbis audio support'
|
||||
'sdl: for SDL user interface support')
|
||||
makedepends=('git')
|
||||
provides=("${_name}=${pkgver}")
|
||||
conflicts=("${_name}")
|
||||
replaces=('opencubicplayer-git')
|
||||
install=$pkgname.install
|
||||
source=("${_name}::git://git.code.sf.net/p/opencubicplayer/code")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_name}"
|
||||
printf "%s.r%s.%s" "$(grep \^AC_INIT configure.ac|cut -d, -f2|xargs)" \
|
||||
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_name}"
|
||||
./configure --prefix=/usr
|
||||
|
||||
cd "${srcdir}/${_name}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_name}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue