Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2024-10-22 21:42:56 +00:00

'replaces' line removed. Using /etc as sysconfdir.

Better instruction message when installing package for the first time.
This commit is contained in:
Ossi Saukko 2015-09-13 11:38:54 +03:00
parent 535ac85597
commit 54e376f145
3 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,7 @@
pkgbase = ocp-git pkgbase = ocp-git
pkgdesc = Open Cubic Player (GIT Version) pkgdesc = Open Cubic Player (GIT Version)
pkgver = 0.1.22.r62.3a44284 pkgver = 0.1.22.r62.3a44284
pkgrel = 2 pkgrel = 3
url = http://stian.cubic.org/project-ocp.php url = http://stian.cubic.org/project-ocp.php
install = ocp-git.install install = ocp-git.install
arch = i686 arch = i686
@ -20,7 +20,6 @@ pkgbase = ocp-git
optdepends = sdl: for SDL user interface support optdepends = sdl: for SDL user interface support
provides = ocp=0.1.22.r62.3a44284 provides = ocp=0.1.22.r62.3a44284
conflicts = ocp conflicts = ocp
replaces = opencubicplayer-git
source = ocp::git://git.code.sf.net/p/opencubicplayer/code source = ocp::git://git.code.sf.net/p/opencubicplayer/code
md5sums = SKIP md5sums = SKIP

View file

@ -2,7 +2,7 @@
_name=ocp _name=ocp
pkgname=ocp-git pkgname=ocp-git
pkgver=0.1.22.r62.3a44284 pkgver=0.1.22.r62.3a44284
pkgrel=2 pkgrel=3
pkgdesc="Open Cubic Player (GIT Version)" pkgdesc="Open Cubic Player (GIT Version)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php" url="http://stian.cubic.org/project-ocp.php"
@ -20,7 +20,6 @@ optdepends=('adplug: for OPL formats support'
makedepends=('git') makedepends=('git')
provides=("${_name}=${pkgver}") provides=("${_name}=${pkgver}")
conflicts=("${_name}") conflicts=("${_name}")
replaces=('opencubicplayer-git')
install=$pkgname.install install=$pkgname.install
source=("${_name}::git://git.code.sf.net/p/opencubicplayer/code") source=("${_name}::git://git.code.sf.net/p/opencubicplayer/code")
md5sums=('SKIP') md5sums=('SKIP')
@ -33,7 +32,7 @@ pkgver() {
build() { build() {
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
./configure --prefix=/usr ./configure --prefix=/usr --sysconfdir=/etc
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
make make

View file

@ -6,7 +6,7 @@ post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q update-desktop-database -q
echo echo
echo Please note that you need to rebuild this package after installing any of the optional dependencies. echo Please note that you need to rebuild ocp-git after installing any of the optional dependencies for it.
echo echo
} }