desktop/libktnef/PKGBUILD

32 lines
620 B
Bash

# Include global configuration
source ../kdeapps.conf
_pkgname=ktnef
pkgname=lib$_pkgname
pkgver=${_kdever}
pkgrel=1
pkgdesc="API for handling TNEF data"
arch=(x86_64)
url="https://projects.kde.org/$pkgname"
license=(LGPL)
depends=(kcalutils kcontacts)
makedepends=(extra-cmake-modules python kdoctools)
options=('docs' 'debug')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}