mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 02:14:37 +08:00
kdeutils-filelight/kcalc/ktimer: ported to KF5
This commit is contained in:
parent
b7ca14fa7d
commit
f4f107ae1f
@ -1,54 +1,38 @@
|
||||
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeutils-filelight/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname="kdeutils-filelight"
|
||||
_pkgname="filelight"
|
||||
pkgname="filelight"
|
||||
arch=('x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
url="http://www.kde.org"
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
pkgdesc="Creates a complex, but data-rich graphical representation of the files and directories on your computer"
|
||||
depends=("kde-runtime"
|
||||
"kde-baseapps>=${_kdever}")
|
||||
conflicts=("kdeutils-common"
|
||||
"filelight")
|
||||
replaces=("filelight")
|
||||
conflicts=("filelight")
|
||||
provides=("filelight")
|
||||
groups=("kde"
|
||||
"kdeutils"
|
||||
"kde-uninstall")
|
||||
depends=()
|
||||
makedepends=('kparts' 'extra-cmake-modules' 'python3' 'kdoctools')
|
||||
conflicts=("kdeutils-filelight")
|
||||
replaces=("kdeutils-filelight")
|
||||
provides=("kdeutils-filelight")
|
||||
groups=("kde" "kdeutils" "kde-uninstall")
|
||||
categories=('utils')
|
||||
install=kdeutils.install
|
||||
makedepends=('pkg-config'
|
||||
'cmake'
|
||||
'automoc4'
|
||||
"kdelibs>=${_libsver}")
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
}
|
||||
cd build
|
||||
cmake_kf5 ../${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
@ -1,51 +1,37 @@
|
||||
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeutils-kcalc/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname="kdeutils-kcalc"
|
||||
_pkgname="kcalc"
|
||||
pkgname="kcalc"
|
||||
arch=('x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Scientific calculator"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
depends=("kde-runtime"
|
||||
"kde-baseapps>=${_kdever}")
|
||||
makedepends=('pkg-config'
|
||||
'cmake'
|
||||
'automoc4'
|
||||
"kdelibs>=${_libsver}")
|
||||
conflicts=("kdeutils-doc"
|
||||
"kdeutils-common")
|
||||
provides=("kcalc")
|
||||
groups=("kde"
|
||||
"kdeutils"
|
||||
"kde-uninstall")
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
depends=('kinit')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
conflicts=('kdeutils-kcalc')
|
||||
provides=('kdeutils-kcalc')
|
||||
replaces=('kdeutils-kcalc')
|
||||
groups=("kde" "kdeutils" "kde-uninstall")
|
||||
categories=('utils')
|
||||
install=kdeutils.install
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
cd build
|
||||
cmake_kf5 ../${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
@ -1,49 +1,37 @@
|
||||
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeutils-ktimer/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname="kdeutils-ktimer"
|
||||
_pkgname="ktimer"
|
||||
pkgname="ktimer"
|
||||
arch=('x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Timer application"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
depends=("kde-runtime"
|
||||
"kde-baseapps>=${_kdever}")
|
||||
conflicts=("kdeutils-common")
|
||||
groups=("kde"
|
||||
"kdeutils"
|
||||
"kde-uninstall")
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
depends=('hicolor-icon-theme' 'kio')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
conflicts=("kdeutils-ktimer")
|
||||
replaces=('kdeutils-ktimer')
|
||||
provides=('kdeutils-ktimer')
|
||||
groups=("kde" "kdeutils" "kde-uninstall")
|
||||
install=kdeutils.install
|
||||
makedepends=('pkg-config'
|
||||
'cmake'
|
||||
'automoc4'
|
||||
"kdelibs>=${_libsver}")
|
||||
categories=('utils')
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
cd build
|
||||
cmake_kf5 ../${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user