mirror of
https://aur.archlinux.org/ocp-git.git
synced 2024-11-22 04:06:29 +00:00
Update to 0.2.100.r1.ddedfe7 and finalisation of PKGBUILD refactor.
This commit is contained in:
parent
38f650ee0f
commit
d930733122
2 changed files with 16 additions and 12 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = ocp-git
|
pkgbase = ocp-git
|
||||||
pkgdesc = Open Cubic Player (GIT Version)
|
pkgdesc = Open Cubic Player (GIT Version)
|
||||||
pkgver = 0.2.99.r66.68249a1
|
pkgver = 0.2.100.r1.ddedfe7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://stian.cubic.org/project-ocp.php
|
url = https://stian.cubic.org/project-ocp.php
|
||||||
install = ocp.install
|
install = ocp.install
|
||||||
|
@ -24,8 +24,9 @@ pkgbase = ocp-git
|
||||||
depends = ttf-unifont
|
depends = ttf-unifont
|
||||||
depends = libdiscid
|
depends = libdiscid
|
||||||
depends = cjson
|
depends = cjson
|
||||||
|
provides = ocp=0.2.100.r1.ddedfe7
|
||||||
conflicts = ocp
|
conflicts = ocp
|
||||||
source = git+https://github.com/mywave82/opencubicplayer.git
|
source = ocp::git+https://github.com/mywave82/opencubicplayer.git
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = ocp-git
|
pkgname = ocp-git
|
||||||
|
|
23
PKGBUILD
23
PKGBUILD
|
@ -1,17 +1,19 @@
|
||||||
# Maintainer: Xavier (sapphirus at azorium dot net)
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||||
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
||||||
|
|
||||||
_pkgbdir=opencubicplayer
|
_pkgbase=ocp
|
||||||
pkgname=ocp-git
|
pkgname=${_pkgbase}-git
|
||||||
pkgver=0.2.99.r66.68249a1
|
pkgver=0.2.100.r1.ddedfe7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Open Cubic Player (GIT Version)"
|
pkgdesc="Open Cubic Player (GIT Version)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://stian.cubic.org/project-ocp.php"
|
url="https://stian.cubic.org/project-ocp.php"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
install=ocp.install
|
install=${_pkgbase}.install
|
||||||
|
|
||||||
|
conflicts=(${_pkgbase})
|
||||||
|
provides=(${_pkgbase}=${pkgver})
|
||||||
|
|
||||||
conflicts=('ocp')
|
|
||||||
|
|
||||||
depends=('hicolor-icon-theme'
|
depends=('hicolor-icon-theme'
|
||||||
'libxxf86vm'
|
'libxxf86vm'
|
||||||
|
@ -32,27 +34,28 @@ makedepends=('git'
|
||||||
'xa'
|
'xa'
|
||||||
'desktop-file-utils')
|
'desktop-file-utils')
|
||||||
|
|
||||||
source=("git+https://github.com/mywave82/opencubicplayer.git")
|
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git)
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $_pkgbdir
|
cd $_pkgbase
|
||||||
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $_pkgbdir
|
cd $_pkgbase
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_pkgbdir
|
cd $_pkgbase
|
||||||
./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
|
./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"
|
make DESTDIR="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_pkgbdir
|
cd $_pkgbase
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue