Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2024-11-22 04:06:29 +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
pkgdesc = Open Cubic Player (GIT Version)
pkgver = 0.1.22.r62.3a44284
pkgrel = 2
pkgrel = 3
url = http://stian.cubic.org/project-ocp.php
install = ocp-git.install
arch = i686
@ -20,7 +20,6 @@ pkgbase = ocp-git
optdepends = sdl: for SDL user interface support
provides = ocp=0.1.22.r62.3a44284
conflicts = ocp
replaces = opencubicplayer-git
source = ocp::git://git.code.sf.net/p/opencubicplayer/code
md5sums = SKIP

View file

@ -2,7 +2,7 @@
_name=ocp
pkgname=ocp-git
pkgver=0.1.22.r62.3a44284
pkgrel=2
pkgrel=3
pkgdesc="Open Cubic Player (GIT Version)"
arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php"
@ -20,7 +20,6 @@ optdepends=('adplug: for OPL formats 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')
@ -33,7 +32,7 @@ pkgver() {
build() {
cd "${srcdir}/${_name}"
./configure --prefix=/usr
./configure --prefix=/usr --sysconfdir=/etc
cd "${srcdir}/${_name}"
make

View file

@ -6,7 +6,7 @@ post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
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
}