Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2024-12-27 06:26:54 -05:00
ocp-git/PKGBUILD

59 lines
1.3 KiB
Text
Raw Normal View History

# Maintainer: Xavier (sapphirus at azorium dot net)
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
_pkgbdir=opencubicplayer
2015-09-09 09:51:44 -04:00
pkgname=ocp-git
2022-09-23 12:29:59 -04:00
pkgver=0.2.99.r66.68249a1
pkgrel=1
pkgdesc="Open Cubic Player (GIT Version)"
2015-09-09 09:51:44 -04:00
arch=('i686' 'x86_64')
url="https://stian.cubic.org/project-ocp.php"
2015-09-09 09:51:44 -04:00
license=('GPL')
2022-09-23 12:29:59 -04:00
install=ocp.install
2022-09-23 12:29:59 -04:00
conflicts=('ocp')
depends=('hicolor-icon-theme'
'libxxf86vm'
'libxpm'
'alsa-lib'
'sdl2'
'flac'
'libvorbis'
'libmad'
'libjpeg-turbo'
'libpng'
'freetype2'
'ttf-unifont'
'libdiscid'
'cjson')
makedepends=('git'
'xa'
'desktop-file-utils')
source=("git+https://github.com/mywave82/opencubicplayer.git")
md5sums=('SKIP')
2015-09-09 09:51:44 -04:00
pkgver() {
cd $_pkgbdir
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
}
prepare() {
cd $_pkgbdir
git submodule init
git submodule update --init --recursive
2015-09-09 09:51:44 -04:00
}
build() {
cd $_pkgbdir
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont --with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf --with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf --with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf
make DESTDIR="$pkgdir"
2015-09-09 09:51:44 -04:00
}
package() {
cd $_pkgbdir
make DESTDIR="$pkgdir" install
2015-09-09 09:51:44 -04:00
}