mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:04:38 +08:00
kdeutils-kcharselect: ported to KF5
This commit is contained in:
parent
b027eecf4c
commit
f41f155f36
@ -1,36 +1,36 @@
|
|||||||
# Include global configuration
|
# Include global configuration
|
||||||
source ../kdeapps.conf
|
source ../kdeapps.conf
|
||||||
|
|
||||||
pkgname="kdeutils-kcharselect"
|
pkgname="kcharselect"
|
||||||
_pkgname="kcharselect"
|
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
pkgver=${_kdever}
|
pkgver=${_kdever}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Character selector"
|
pkgdesc="Character selector"
|
||||||
url="http://www.kde.org"
|
url="http://kde.org/applications/utilities/kcharselect/"
|
||||||
license=('GPL' 'LGPL' 'FDL')
|
license=('GPL' 'LGPL' 'FDL')
|
||||||
options=('docs' '!header' 'debug' 'log')
|
options=('docs' '!header' 'debug' 'log')
|
||||||
depends=("kde-runtime" "kde-baseapps>=${_kdever}")
|
depends=('kxmlgui')
|
||||||
makedepends=('pkg-config' 'cmake' 'automoc4' "kdelibs>=${_libsver}")
|
makedepends=('extra-cmake-modules' 'python3' 'kdoctools')
|
||||||
conflicts=("kdeutils-common" "kdeutils-doc")
|
|
||||||
groups=("kde" "kdeutils" "kde-uninstall")
|
groups=("kde" "kdeutils" "kde-uninstall")
|
||||||
provides=("kcharselect")
|
conflicts=("kdeutils-kcharselect")
|
||||||
|
provides=("kdeutils-kcharselect")
|
||||||
|
replaces=("kdeutils-kcharselect")
|
||||||
categories=('utils')
|
categories=('utils')
|
||||||
install=kdeutils.install
|
install=kdeutils.install
|
||||||
source=($_mirror/${_pkgname}-$_kdever.tar.xz)
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
||||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir -p build
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
cd build
|
||||||
cmake . \
|
cmake_kf5 ../${pkgname}-${pkgver}
|
||||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
make
|
||||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
||||||
-DCMAKE_SKIP_RPATH=ON \
|
|
||||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
cd build
|
||||||
make DESTDIR=${pkgdir} install
|
make DESTDIR=${pkgdir} install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user