mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Revert "[skip-ci] [testing] okteta: update to 0.25.0 (failed to build)"
This reverts commit b544037bc9
.
This commit is contained in:
parent
f9b154b522
commit
6ff348da86
@ -1,21 +1,25 @@
|
||||
# Include global configuration
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=okteta
|
||||
arch=('x86_64')
|
||||
pkgver=0.25.0
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="KDE hex editor for viewing and editing the raw data of files"
|
||||
url="https://kde.org/applications/utilities/okteta/"
|
||||
screenshot="https://www.kde.org/images/screenshots/okteta.png"
|
||||
pkgdesc="A hex editor"
|
||||
url="http://kde.org/applications/utilities/okteta/"
|
||||
screenshot="http://www.kde.org/images/screenshots/okteta.png"
|
||||
groups=("kde" "kde-devel" "kdesdk" "kde-uninstall")
|
||||
depends=('kcmutils' 'kparts' 'knewstuff' 'qca-qt5' 'hicolor-icon-theme')
|
||||
depends=('kcmutils' 'kparts' 'knewstuff' 'qca-qt5')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'qt5-tools')
|
||||
replaces=('kdesdk-okteta')
|
||||
conflicts=('kdesdk-okteta')
|
||||
provides=('kdesdk-okteta')
|
||||
install=${pkgname}.install
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
|
||||
sha256sums=('5e0399195fc2177fc39caf5c24585c9521f38b92c0780f92c329ee737e5e644d'
|
||||
'SKIP')
|
||||
validpgpkeys=(E191FD5BE6F46870F09E82B2024E7FB43D015474) # Friedrich W. H. Kossebau <kossebau@kde.org>
|
||||
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
||||
'SKIP')
|
||||
validpgpkeys=(${Avalidpgpkeys[@]})
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
@ -23,10 +27,7 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake_kf5 ../${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
|
12
okteta/okteta.install
Normal file
12
okteta/okteta.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user