# maintainer Manuel Tortosa # Include global configuration source ../_buildscripts/${current_repo}-${_arch}-cfg.conf _pkgname="okteta" pkgname="kdesdk-okteta" arch=('x86_64') pkgver=${_kdever} pkgrel=1 pkgdesc="Okteta is a simple editor for the raw data of files, also known as a hex editor." screenshot="http://www.kde.org/images/screenshots/okteta.png" depends=("kde-runtime>=${_kdever}" "kde-runtime>=${_kdever}" "kde-baseapps>=${_kdever}" "qca") replaces=('kdeutils-okteta') conflicts=('kdesdk-doc') groups=("kde" "kde-devel" "kdesdk" "kde-uninstall") install=kdesdk.install url="http://www.kde.org" license=('GPL' 'LGPL' 'FDL') options=('docs' '!header' 'debug' 'log') makedepends=('pkg-config' 'cmake' 'automoc4') source=("$_mirror/${_pkgname}-$_kdever.tar.xz") sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`) build() { cd ${srcdir}/${_pkgname}-${pkgver} msg "starting build ..." cmake . -DCMAKE_BUILD_TYPE=${_build_type} \ -DCMAKE_INSTALL_PREFIX=${_installprefix} \ -DCMAKE_SKIP_RPATH=ON make } package() { cd ${srcdir}/${_pkgname}-${pkgver} make DESTDIR=${pkgdir} install }