desktop/okteta/PKGBUILD

36 lines
846 B
Bash
Raw Normal View History

# Include global configuration
2015-04-29 22:14:27 +08:00
source ../kdeapps.conf
2015-02-23 23:08:49 +08:00
pkgname=okteta
2015-02-23 23:08:49 +08:00
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="A hex editor"
2015-04-29 22:14:27 +08:00
url="http://kde.org/applications/utilities/okteta/"
2015-02-23 23:08:49 +08:00
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
2015-04-04 03:07:43 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2015-02-23 23:08:49 +08:00
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}