desktop/okteta/PKGBUILD
2018-12-04 17:34:20 +01:00

38 lines
1.1 KiB
Bash

pkgname=okteta
pkgver=0.25.4
pkgrel=1
epoch=1
arch=('x86_64')
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"
groups=("kde" "kde-devel" "kdesdk" "kde-uninstall")
depends=('kcmutils' 'kparts' 'knewstuff' 'qca-qt5')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'qt5-tools' 'hicolor-icon-theme')
replaces=('kdesdk-okteta')
conflicts=('kdesdk-okteta')
provides=('kdesdk-okteta')
license=('GPL' 'LGPL' 'FDL')
source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('ae2a72d0162184278d1c0e0a73b52751a0181deede0231a4c9d568bb7ac82a52'
'SKIP')
validpgpkeys=(E191FD5BE6F46870F09E82B2024E7FB43D015474) # Friedrich W. H. Kossebau <kossebau@kde.org>
prepare() {
mkdir build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}