From aa4e48855b232bc0f9cc933ac97ba513d9c33b27 Mon Sep 17 00:00:00 2001 From: cr6git Date: Mon, 31 Jul 2017 10:20:21 +0200 Subject: [PATCH] oxygen-icons5: prevent conflict --- srcpkgs/oxygen-icons5/template | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/srcpkgs/oxygen-icons5/template b/srcpkgs/oxygen-icons5/template index 2e6289d0bf2..0f54698c4eb 100644 --- a/srcpkgs/oxygen-icons5/template +++ b/srcpkgs/oxygen-icons5/template @@ -1,15 +1,26 @@ # Template file for 'oxygen-icons5' pkgname=oxygen-icons5 version=5.36.0 -revision=1 +revision=2 noarch=yes build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools" makedepends="qt5-devel" -short_desc="KDE Oxygen icon theme" +short_desc="KDE Oxygen(5) icon theme" maintainer="Denis Revin " license="LGPL-2" homepage="https://projects.kde.org/projects/frameworks/oxygen-icons5" distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=2fb5414909ee0b8ace97dec6ef1d056c6962ba992336e8c972319c1d1ef25910 + +post_extract() { + # To prevent any conflict with 'oxygen-icons' package. + sed -i -e "s/oxygen/oxygen5/g" CMakeLists.txt + sed -i -e "s/Oxygen/Oxygen5/g" index.theme + + # Name[fr]=Oxygène + sed -i -e "s/Oxygène/Oxygène5/g" index.theme + + # TODO: sed other languages in index.theme +}