mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
35 lines
909 B
Bash
35 lines
909 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/okteta
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname="okteta"
|
|
arch=('x86_64')
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="A hex editor"
|
|
screenshot="http://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')
|
|
replaces=('kdesdk-okteta')
|
|
conflicts=('kdesdk-okteta')
|
|
provides=('kdesdk-okteta')
|
|
install=${pkgname}.install
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
|
|
|
prepare() {
|
|
mkdir build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|