1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2024-11-24 21:26:29 +00:00

Fix gcc version check for 8.*

This commit is contained in:
Mikael Eriksson 2019-05-17 20:54:50 +02:00 committed by Mikael Eriksson
parent a9ac1d0b55
commit 3c686977ef
2 changed files with 3 additions and 5 deletions

View file

@ -1,9 +1,7 @@
# Generated by mksrcinfo v8
# Thu Oct 12 20:31:29 UTC 2017
pkgbase = ocp pkgbase = ocp
pkgdesc = Open Cubic Player pkgdesc = Open Cubic Player
pkgver = 0.1.21 pkgver = 0.1.21
pkgrel = 6 pkgrel = 7
url = http://stian.cubic.org/project-ocp.php url = http://stian.cubic.org/project-ocp.php
install = ocp.install install = ocp.install
arch = i686 arch = i686

View file

@ -3,7 +3,7 @@
pkgname=ocp pkgname=ocp
pkgver=0.1.21 pkgver=0.1.21
pkgrel=6 pkgrel=7
pkgdesc="Open Cubic Player" pkgdesc="Open Cubic Player"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php" url="http://stian.cubic.org/project-ocp.php"
@ -16,7 +16,7 @@ install=ocp.install
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*|6.*|7.*)" configure sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*|6.*|7.*|8.*)" configure
./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr --sysconfdir=/etc
make -j1 DESTDIR=$pkgdir make -j1 DESTDIR=$pkgdir
} }