Merge pull request #7216 from cr6git/Oxygen-icons
oxygen-icons5: prevent conflict
This commit is contained in:
commit
fbf5ce9e83
|
@ -1,15 +1,26 @@
|
||||||
# Template file for 'oxygen-icons5'
|
# Template file for 'oxygen-icons5'
|
||||||
pkgname=oxygen-icons5
|
pkgname=oxygen-icons5
|
||||||
version=5.36.0
|
version=5.36.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
|
||||||
makedepends="qt5-devel"
|
makedepends="qt5-devel"
|
||||||
short_desc="KDE Oxygen icon theme"
|
short_desc="KDE Oxygen(5) icon theme"
|
||||||
maintainer="Denis Revin <denis.revin@gmail.com>"
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
||||||
license="LGPL-2"
|
license="LGPL-2"
|
||||||
homepage="https://projects.kde.org/projects/frameworks/oxygen-icons5"
|
homepage="https://projects.kde.org/projects/frameworks/oxygen-icons5"
|
||||||
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=2fb5414909ee0b8ace97dec6ef1d056c6962ba992336e8c972319c1d1ef25910
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue